Northeastern-Electric-Racing / Cerberus

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

Create a function to queue a fault #94

Closed nwdepatie closed 6 months ago

nwdepatie commented 8 months ago

Right now we have tasks manually adding faults to a queue and setting the diagnostic information manually. We probably want a function that does this for us which should lie in fault.c. This should be similar to the function to queue a can message, found here https://github.com/Northeastern-Electric-Racing/Cerberus/commit/97bad9b51dead87080f1da67d939dd402e7e40ae