Improve rport error function of safety controller

This commit is contained in:
Mario Hüttel 2021-01-26 21:46:33 +01:00
parent a5c9350835
commit 67b079fe33
1 changed files with 4 additions and 0 deletions

View File

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