Removing incorrect sync triggering on dual and Audi 135 decoders

This commit is contained in:
Josh Stewart 2016-01-01 09:41:56 +11:00
parent 3b3541698e
commit 3476cdffd9
1 changed files with 1 additions and 4 deletions

View File

@ -160,7 +160,6 @@ void triggerPri_DualWheel()
toothOneMinusOneTime = toothOneTime;
toothOneTime = curTime;
startRevolutions++; //Counter
currentStatus.hasSync = true;
//if ((startRevolutions & 63) == 1) { currentStatus.hasSync = false; } //Every 64 revolutions, force a resync with the cam
}
@ -702,13 +701,11 @@ void triggerPri_Audi135()
toothSystemCount = 0;
toothCurrentCount++; //Increment the tooth counter
if ( toothCurrentCount == 1 || toothCurrentCount > 45)
if ( toothCurrentCount == 1 )// || toothCurrentCount > 45)
{
toothCurrentCount = 1;
toothOneMinusOneTime = toothOneTime;
toothOneTime = curTime;
startRevolutions++; //Counter
currentStatus.hasSync = true;
}
toothLastMinusOneToothTime = toothLastToothTime;