diff --git a/speeduino/decoders.ino b/speeduino/decoders.ino index cac08b90..e5559329 100644 --- a/speeduino/decoders.ino +++ b/speeduino/decoders.ino @@ -763,11 +763,12 @@ void triggerSec_DualWheel() toothLastSecToothTime = curTime2; triggerSecFilterTime = curGap2 >> 2; //Set filter at 25% of the current speed - if(currentStatus.hasSync == false) + if( (currentStatus.hasSync == false) || (currentStatus.startRevolutions <= configPage4.StgCycles) ) { toothLastToothTime = micros(); toothLastMinusOneToothTime = micros() - (6000000 / configPage4.triggerTeeth); //Fixes RPM at 10rpm until a full revolution has taken place toothCurrentCount = configPage4.triggerTeeth; + triggerFilterTime = 0; //Need to turn the filter off here otherwise the first primary tooth after achieving sync is ignored currentStatus.hasSync = true; }