this warning should be promoted to fatal!

This commit is contained in:
rusefi 2021-10-26 17:10:27 -04:00
parent 0b4d70f99a
commit 475edecee5
1 changed files with 1 additions and 1 deletions

View File

@ -333,7 +333,7 @@ int getCylinderId(int index DECLARE_ENGINE_PARAMETER_SUFFIX) {
}
if (engineConfiguration->specs.cylindersCount != firingOrderLength) {
// May 2020 this somehow still happens with functional tests, maybe race condition?
warning(CUSTOM_OBD_WRONG_FIRING_ORDER, "Wrong cyl count for firing order, expected %d cylinders", firingOrderLength);
firmwareError(CUSTOM_OBD_WRONG_FIRING_ORDER, "Wrong cyl count for firing order, expected %d cylinders", firingOrderLength);
return 1;
}