diff --git a/firmware/controllers/math/engine_math.cpp b/firmware/controllers/math/engine_math.cpp index 58e84a1a22..9bce33da3e 100644 --- a/firmware/controllers/math/engine_math.cpp +++ b/firmware/controllers/math/engine_math.cpp @@ -374,7 +374,7 @@ static int getFiringOrderLength(DECLARE_ENGINE_PARAMETER_F) { */ int getCylinderId(int index DECLARE_ENGINE_PARAMETER_S) { - const int foLength = getFiringOrderLength(PASS_ENGINE_PARAMETER); + const int foLength = getFiringOrderLength(PASS_ENGINE_PARAMETER_F); if (engineConfiguration->specs.cylindersCount != foLength) { warning(CUSTOM_OBD_WRONG_FIRING_ORDER, "Wrong firing order %d/%d", engineConfiguration->specs.cylindersCount, foLength); return 1;