micro progress

This commit is contained in:
rusefi 2018-03-04 13:23:44 -05:00
parent 2a626dcd6e
commit 844faffc34
1 changed files with 8 additions and 0 deletions

View File

@ -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