Minor changes to the sync monitoring on dual wheel
This commit is contained in:
parent
9e0053e958
commit
8859611a7e
|
@ -577,11 +577,15 @@ void triggerSec_DualWheel()
|
|||
}
|
||||
else
|
||||
{
|
||||
if (toothCurrentCount != configPage4.triggerTeeth) { currentStatus.syncLossCounter++; } //Indicates likely sync loss
|
||||
if ( (toothCurrentCount != configPage4.triggerTeeth) && (currentStatus.startRevolutions > 2)) { currentStatus.syncLossCounter++; } //Indicates likely sync loss.
|
||||
if (configPage4.useResync == 1) { toothCurrentCount = configPage4.triggerTeeth; }
|
||||
}
|
||||
|
||||
revolutionOne = 1; //Sequential revolution reset
|
||||
}
|
||||
else
|
||||
{
|
||||
triggerSecFilterTime = revolutionTime >> 1; //Set filter at 25% of the current cam speed. This needs to be performed here to prevent a situation where the RPM and triggerSecFilterTime get out of alignment and curGap2 never exceeds the filter value
|
||||
} //Trigger filter
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue