FATAL while bench testing VR #2153

This commit is contained in:
rusefi 2021-01-01 14:07:52 -05:00
parent 1f30163348
commit 719ad92681
1 changed files with 3 additions and 1 deletions

View File

@ -439,7 +439,9 @@ void TriggerState::decodeTriggerEvent(
currentCycle.eventCount[triggerWheel]++;
efiAssertVoid(CUSTOM_OBD_93, toothed_previous_time <= nowNt, "toothed_previous_time after nowNt");
if (toothed_previous_time > nowNt) {
firmwareError(CUSTOM_OBD_93, "toothed_previous_time after nowNt %d %d", toothed_previous_time, nowNt);
}
efitick_t currentDurationLong = getCurrentGapDuration(nowNt);