making error condition less fatal

#598
This commit is contained in:
rusefi 2018-07-28 15:36:47 -04:00
parent 010099aa0d
commit 5e6deaa782
1 changed files with 2 additions and 1 deletions

View File

@ -420,7 +420,8 @@ int getCylinderId(int index DECLARE_ENGINE_PARAMETER_SUFFIX) {
}
if (index < 0 || index >= firingOrderLength) {
firmwareError(CUSTOM_ERR_6687, "index %d", index);
// todo: open question when does this happen? reproducible with functional tests?
warning(CUSTOM_ERR_6686, "index %d", index);
return 1;
}