From 4f9f9b9dbfe5120aca1ec1850f15f50f6321a2df Mon Sep 17 00:00:00 2001 From: rusEfi Date: Wed, 17 Dec 2014 19:04:56 -0600 Subject: [PATCH] auto-sync --- firmware/controllers/trigger/rpm_calculator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/controllers/trigger/rpm_calculator.cpp b/firmware/controllers/trigger/rpm_calculator.cpp index f9cdedab85..21060917ab 100644 --- a/firmware/controllers/trigger/rpm_calculator.cpp +++ b/firmware/controllers/trigger/rpm_calculator.cpp @@ -112,7 +112,7 @@ int RpmCalculator::rpm(DECLARE_ENGINE_PARAMETER_F) { #endif if (!isRunning(PASS_ENGINE_PARAMETER_F)) { revolutionCounterSinceStart = 0; - return 0; + rpmValue = 0; } return rpmValue; }