Restructure safety handle function. Now returns worst flag state set. Used to blink LED
This commit is contained in:
@@ -75,9 +75,9 @@ void safety_controller_init(void);
|
||||
/**
|
||||
* @brief Handle the safety controller.
|
||||
* @note This function must be executed periodically in order to prevent the watchdog from resetting the firmware
|
||||
* @return 0 if successful
|
||||
* @returns Worst flag weigth that is currently set.
|
||||
*/
|
||||
int safety_controller_handle(void);
|
||||
enum config_weight safety_controller_handle(void);
|
||||
|
||||
/**
|
||||
* @brief Report one or multiple errors to the safety controller
|
||||
|
||||
Reference in New Issue
Block a user