Improve rport error function of safety controller
This commit is contained in:
parent
a5c9350835
commit
67b079fe33
@ -582,6 +582,10 @@ static int report_error(enum safety_flag flag, uint32_t key, bool prevent_error_
|
||||
} else {
|
||||
ret = 0;
|
||||
}
|
||||
|
||||
flag &= ~flags[i].flag;
|
||||
if (!flag)
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user