RPM refactoring

This commit is contained in:
rusefi 2017-07-06 15:33:59 -04:00
parent 148875881b
commit 1c63adcd55
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ int RpmCalculator::getRpm(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
#if (EFI_PROD_CODE || EFI_SIMULATOR) || defined(__DOXYGEN__)
bool isCrankingOrInitialE(Engine *engine) {
int rpm = getRpmE(engine);
return isCrankingR(rpm) || (rpm == 0);
return ENGINE(rpmCalculator).isCranking(PASS_ENGINE_PARAMETER_SIGNATURE) || (rpm == 0);
}
#endif