state validation progress

This commit is contained in:
rusefi 2019-01-22 23:15:33 -05:00
parent 34e97c5d8e
commit f7a2cc9e63
2 changed files with 3 additions and 2 deletions

View File

@ -316,6 +316,8 @@ void TriggerState::decodeTriggerEvent(trigger_event_e const signal, efitime_t no
currentCycle.eventCount[triggerWheel]++;
efiAssertVoid(CUSTOM_OBD_93, toothed_previous_time <= nowNt, "toothed_previous_time after nowNt");
efitime_t currentDurationLong = getCurrentGapDuration(nowNt);
/**

View File

@ -85,10 +85,9 @@ static void fireNoisyCycle60_2(EngineTestHelper *eth, int numCycles, int duratio
}
static void resetTrigger(EngineTestHelper &eth) {
timeNowUs = 0;
eth.applyTriggerShape();
eth.engine.triggerCentral.resetAccumSignalData();
// reset error cnt
// reset error counter
eth.engine.triggerCentral.triggerState.totalTriggerErrorCounter = 0;
}