From cea0ec439b3579f9323c3f965a6562c75e4b8d5a Mon Sep 17 00:00:00 2001 From: rusefi Date: Mon, 7 Sep 2020 11:09:48 -0400 Subject: [PATCH] microRusEFI used as Body Control Module BCM BCU --- firmware/controllers/core/fsio_impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/controllers/core/fsio_impl.cpp b/firmware/controllers/core/fsio_impl.cpp index 6e94a4bdd5..e2b1465a78 100644 --- a/firmware/controllers/core/fsio_impl.cpp +++ b/firmware/controllers/core/fsio_impl.cpp @@ -122,7 +122,7 @@ float getEngineValue(le_action_e action DECLARE_ENGINE_PARAMETER_SUFFIX) { case LE_METHOD_INTAKE_AIR: return Sensor::get(SensorType::Iat).value_or(0); case LE_METHOD_RPM: - return engine->rpmCalculator.getRpm(); + return Sensor::get(SensorType::Rpm).value_or(0); case LE_METHOD_MAF: return getRealMaf(PASS_ENGINE_PARAMETER_SIGNATURE); case LE_METHOD_MAP: