Correct condition on missing tooth decoder that could leave the filter in an recoverable state
This commit is contained in:
parent
5a4fba09a4
commit
52e8b7efc9
|
@ -111,6 +111,7 @@ void triggerPri_missingTooth()
|
||||||
toothOneTime = curTime;
|
toothOneTime = curTime;
|
||||||
currentStatus.hasSync = true;
|
currentStatus.hasSync = true;
|
||||||
startRevolutions++; //Counter
|
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
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue