Northeastern-Electric-Racing / Cerberus

Our FreeRTOS-based vehicle control application
1 stars 0 forks source link

Changing from passing in references of structs to global references #164

Closed nwdepatie closed 1 month ago

nwdepatie commented 1 month ago

Changes

Title kinda says it all. Even if we are passing pointers, the pointers themselves still take up 32 bits on their own. This should reduce the stack size of each task in that they don't have their won personal reference and are just pointing to the global ones. Less scalable but we've seen that this is probably the largest scale that Cerberus will be for a while.

Notes

Pretty much untested on the car, does build

To Do

Any remaining things that need to get done