From 475edecee59777c61f1fe99b392b7369009e1489 Mon Sep 17 00:00:00 2001 From: rusefi Date: Tue, 26 Oct 2021 17:10:27 -0400 Subject: [PATCH] this warning should be promoted to fatal! --- firmware/controllers/math/engine_math.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/controllers/math/engine_math.cpp b/firmware/controllers/math/engine_math.cpp index c63651706e..c745685479 100644 --- a/firmware/controllers/math/engine_math.cpp +++ b/firmware/controllers/math/engine_math.cpp @@ -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; }