This commit is contained in:
parent
e03314e4a5
commit
22cbf774ad
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue