From 3e34b65ec5ea9578eeb9e39d6eda98a3a68f1fe9 Mon Sep 17 00:00:00 2001 From: rusefi Date: Sat, 19 Sep 2020 04:57:07 -0400 Subject: [PATCH] better QC procedure --- firmware/controllers/engine_cycle/rpm_calculator.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/firmware/controllers/engine_cycle/rpm_calculator.cpp b/firmware/controllers/engine_cycle/rpm_calculator.cpp index 327512b813..517c7dd725 100644 --- a/firmware/controllers/engine_cycle/rpm_calculator.cpp +++ b/firmware/controllers/engine_cycle/rpm_calculator.cpp @@ -365,9 +365,11 @@ void initRpmCalculator(Logging *sharedLogger DECLARE_ENGINE_PARAMETER_SUFFIX) { INJECT_ENGINE_REFERENCE(&ENGINE(rpmCalculator)); logger = sharedLogger; +#if ! HW_CHECK_MODE if (hasFirmwareError()) { return; } +#endif // HW_CHECK_MODE // Only register if not configured to read RPM over OBD2 if (!CONFIG(consumeObdSensors)) {