Correct condition on missing tooth decoder that could leave the filter in an recoverable state

This commit is contained in:
Josh Stewart 2016-08-31 13:52:23 +10:00
parent 5a4fba09a4
commit 52e8b7efc9
1 changed files with 1 additions and 0 deletions

View File

@ -111,6 +111,7 @@ void triggerPri_missingTooth()
toothOneTime = curTime;
currentStatus.hasSync = true;
startRevolutions++; //Counter
triggerFilterTime = 0; //This is used to prevent a condition where serious intermitent signals (Eg someone furiously plugging the sensor wire in and out) can leave the filter in an unrecoverable state
}
else
{