From 5e6deaa78203e6b254e68001c213af090b657ea8 Mon Sep 17 00:00:00 2001 From: rusefi Date: Sat, 28 Jul 2018 15:36:47 -0400 Subject: [PATCH] making error condition less fatal #598 --- firmware/controllers/math/engine_math.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/firmware/controllers/math/engine_math.cpp b/firmware/controllers/math/engine_math.cpp index 4da85e7c33..d69b399f13 100644 --- a/firmware/controllers/math/engine_math.cpp +++ b/firmware/controllers/math/engine_math.cpp @@ -420,7 +420,8 @@ int getCylinderId(int index DECLARE_ENGINE_PARAMETER_SUFFIX) { } if (index < 0 || index >= firingOrderLength) { - firmwareError(CUSTOM_ERR_6687, "index %d", index); + // todo: open question when does this happen? reproducible with functional tests? + warning(CUSTOM_ERR_6686, "index %d", index); return 1; }