RPM state enum done
This commit is contained in:
parent
7a348a23c3
commit
85d2ad2fd7
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -260,5 +260,5 @@ int getRusEfiVersion(void) {
|
|||
if (initBootloader() != 0)
|
||||
return 123;
|
||||
#endif /* EFI_BOOTLOADER_INCLUDE_CODE */
|
||||
return 20170705;
|
||||
return 20170706;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue