HW CI instability: handleShaftSignal unexpected loop fix #5661

shoot from the hip?
This commit is contained in:
rusefi 2023-10-29 13:26:21 -04:00
parent 3c97e62e28
commit 2708114905
1 changed files with 1 additions and 1 deletions

View File

@ -828,7 +828,7 @@ void TriggerCentral::handleShaftSignal(trigger_event_e signal, efitick_t timesta
auto nextToothIndex = triggerIndexForListeners;
angle_t nextPhase = 0;
int loopAllowance = 2 * engineCycleEventCount;
int loopAllowance = 2 * engineCycleEventCount + 1000;
do {
// I don't love this.
nextToothIndex = (nextToothIndex + 1) % engineCycleEventCount;