Improvements to D17 decoder
This commit is contained in:
parent
72f65605b0
commit
06458635ef
|
@ -793,9 +793,13 @@ void triggerPri_HondaD17()
|
|||
addToothLogEntry(curGap);
|
||||
|
||||
//
|
||||
if( toothCurrentCount > 12 && currentStatus.hasSync)
|
||||
if( toothCurrentCount == 13 && currentStatus.hasSync)
|
||||
{
|
||||
toothCurrentCount = 0;
|
||||
return;
|
||||
}
|
||||
else if( toothCurrentCount == 1 && currentStatus.hasSync)
|
||||
{
|
||||
toothCurrentCount = 1;
|
||||
toothOneMinusOneTime = toothOneTime;
|
||||
toothOneTime = curTime;
|
||||
startRevolutions++; //Counter
|
||||
|
|
Loading…
Reference in New Issue