Safety Controller: Fix return type of function
This commit is contained in:
parent
9226f43cad
commit
0d861b1aed
@ -449,7 +449,7 @@ void safety_controller_report_analog_value(enum analog_value_monitor monitor, fl
|
|||||||
* @param flags Flags read from error memory
|
* @param flags Flags read from error memory
|
||||||
* @return 0 if ok, != 0 if error
|
* @return 0 if ok, != 0 if error
|
||||||
*/
|
*/
|
||||||
static enum safety_flag get_safety_flags_from_error_mem(enum safety_flag *flags)
|
static int get_safety_flags_from_error_mem(enum safety_flag *flags)
|
||||||
{
|
{
|
||||||
uint32_t count;
|
uint32_t count;
|
||||||
uint32_t idx;
|
uint32_t idx;
|
||||||
|
Loading…
Reference in New Issue
Block a user