From 168618071646a9fae30096a4fdc46dc6589d00ab Mon Sep 17 00:00:00 2001 From: rusefi Date: Sat, 23 May 2020 18:00:20 -0400 Subject: [PATCH] partial rollback --- 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 2c4de4a187..f501b81bb1 100644 --- a/firmware/controllers/math/engine_math.cpp +++ b/firmware/controllers/math/engine_math.cpp @@ -60,7 +60,8 @@ float getEngineLoadT(DECLARE_ENGINE_PARAMETER_SIGNATURE) { switch (engineConfiguration->fuelAlgorithm) { case LM_PLAIN_MAF: if (!hasMafSensor(PASS_ENGINE_PARAMETER_SIGNATURE)) { - firmwareError(CUSTOM_MAF_NEEDED, "MAF sensor needed for current fuel algorithm"); + // todo: make this not happen during hardware CI + warning(CUSTOM_MAF_NEEDED, "MAF sensor needed for current fuel algorithm"); return NAN; } return getMafVoltage(PASS_ENGINE_PARAMETER_SIGNATURE);