RPM state enum done

This commit is contained in:
rusefi 2017-07-08 06:42:10 -04:00
parent 7a348a23c3
commit 85d2ad2fd7
2 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@ bool RpmCalculator::isStopped(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
}
bool RpmCalculator::isCranking(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
return ((rpmValue) > 0 && (rpmValue) < CONFIG(cranking.rpm));
return state == CRANKING;
}
/**

View File

@ -260,5 +260,5 @@ int getRusEfiVersion(void) {
if (initBootloader() != 0)
return 123;
#endif /* EFI_BOOTLOADER_INCLUDE_CODE */
return 20170705;
return 20170706;
}