RPM refactoring

This commit is contained in:
rusefi 2017-07-06 07:27:32 -04:00
parent b46912a9f3
commit 55bbe9ed05
1 changed files with 15 additions and 0 deletions

View File

@ -31,6 +31,21 @@
#ifdef __cplusplus
typedef enum {
/**
* The engine is not spinning, RPM=0
*/
STOPPED,
/**
* The engine is cranking (0 < RPM < cranking.rpm)
*/
CRANKING,
/**
* The engine is running (RPM >= cranking.rpm)
*/
RUNNING,
} engine_state_e;
class Engine;
class RpmCalculator {