From 844faffc3448c7394bbd2808c778fb1c422fb8b2 Mon Sep 17 00:00:00 2001 From: rusefi Date: Sun, 4 Mar 2018 13:23:44 -0500 Subject: [PATCH] micro progress --- firmware/controllers/trigger/rpm_calculator.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/firmware/controllers/trigger/rpm_calculator.h b/firmware/controllers/trigger/rpm_calculator.h index 254f56b3d0..63f19dbec3 100644 --- a/firmware/controllers/trigger/rpm_calculator.h +++ b/firmware/controllers/trigger/rpm_calculator.h @@ -36,6 +36,11 @@ typedef enum { * The engine is not spinning, RPM=0 */ STOPPED, + /** + * The engine is spinning up (reliable RPM is not detected yet). + * In this state, rpmValue is >= 0 (can be zero). + */ + SPINNING_UP, /** * The engine is cranking (0 < RPM < cranking.rpm) */ @@ -105,6 +110,9 @@ private: */ void setStopped(DECLARE_ENGINE_PARAMETER_SIGNATURE); + /** + * The same as setRpmValue() but without state change + */ void assignRpmValue(int value DECLARE_ENGINE_PARAMETER_SUFFIX); /** * This counter is incremented with each revolution of one of the shafts. Could be