Safety Controller: Fix return type of function

This commit is contained in:
Mario Hüttel 2020-12-14 20:29:21 +01:00
parent 9226f43cad
commit 0d861b1aed

View File

@ -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;