Hellen says merge #1772 noise filter bugfix

This commit is contained in:
rusefi 2020-09-07 15:36:17 -04:00
parent df908db68e
commit 4f2735c44a
1 changed files with 2 additions and 0 deletions

View File

@ -190,6 +190,8 @@ void RpmCalculator::setStopped(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
revolutionCounterSinceStart = 0;
if (rpmValue != 0) {
assignRpmValue(0 PASS_ENGINE_PARAMETER_SUFFIX);
// needed by 'useNoiselessTriggerDecoder'
engine->triggerCentral.resetAccumSignalData();
scheduleMsg(logger, "engine stopped");
}
state = STOPPED;