more minimal version of fix trigger replay #2874
This commit is contained in:
parent
30bdfe323e
commit
43e71c12fa
|
@ -65,7 +65,7 @@ void CsvReader::processLine(EngineTestHelper *eth) {
|
|||
trigger_event_e event =
|
||||
(newState[index] ? riseEvents : fallEvents)[index];
|
||||
efitick_t nowNt = getTimeNowNt();
|
||||
engine->triggerCentral.handleShaftSignal(event, nowNt PASS_ENGINE_PARAMETER_SUFFIX);
|
||||
handleShaftSignal2(event, nowNt PASS_ENGINE_PARAMETER_SUFFIX);
|
||||
|
||||
currentState[index] = newState[index];
|
||||
}
|
||||
|
|
|
@ -23,7 +23,7 @@ TEST(crankingVW, vwRealCrankingFromFile) {
|
|||
reader.processLine(ð);
|
||||
}
|
||||
|
||||
ASSERT_EQ( 3, eth.recentWarnings()->getCount())<< "warningCounter#vwRealCranking";
|
||||
ASSERT_EQ( 1, eth.recentWarnings()->getCount())<< "warningCounter#vwRealCranking";
|
||||
ASSERT_EQ( 1683, GET_RPM())<< reader.lineIndex;
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue