This commit is contained in:
Matthew Kennedy 2021-01-09 13:51:24 -08:00 committed by GitHub
parent 9c12c4dd44
commit 9fc02afe4a
1 changed files with 3 additions and 3 deletions

View File

@ -253,11 +253,11 @@ static void doPeriodicSlowCallback(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
#if EFI_INTERNAL_FLASH #if EFI_INTERNAL_FLASH
writeToFlashIfPending(); writeToFlashIfPending();
#endif /* EFI_INTERNAL_FLASH */ #endif /* EFI_INTERNAL_FLASH */
resetAccel();
} }
if (engine->rpmCalculator.isStopped()) {
if (!engine->rpmCalculator.isStopped()) { resetAccel();
} else {
updatePrimeInjectionPulseState(PASS_ENGINE_PARAMETER_SIGNATURE); updatePrimeInjectionPulseState(PASS_ENGINE_PARAMETER_SIGNATURE);
} }