This commit is contained in:
rusefi 2018-07-28 14:01:28 -04:00
parent e03314e4a5
commit 22cbf774ad
1 changed files with 1 additions and 1 deletions

View File

@ -406,7 +406,7 @@ int getCylinderId(int index DECLARE_ENGINE_PARAMETER_SUFFIX) {
const int firingOrderLength = getFiringOrderLength(PASS_ENGINE_PARAMETER_SIGNATURE);
if (index < 1 || index > INJECTION_PIN_COUNT) {
if (firingOrderLength < 1 || firingOrderLength > INJECTION_PIN_COUNT) {
firmwareError(CUSTOM_ERR_6687, "fol %d", firingOrderLength);
return 1;
}