CSV framework progress
This commit is contained in:
parent
47056cb005
commit
a5a8e4538a
|
@ -95,8 +95,13 @@ void CsvReader::processLine(EngineTestHelper *eth) {
|
|||
}
|
||||
|
||||
efitick_t nowNt = getTimeNowNt();
|
||||
// todo: we invert VVT but we do not invert trigger input!!!
|
||||
hwHandleShaftSignal(index, newTriggerState[index], nowNt);
|
||||
bool state;
|
||||
if (index == 0) {
|
||||
state = newTriggerState[index] ^ engineConfiguration->invertPrimaryTriggerSignal;
|
||||
} else {
|
||||
state = newTriggerState[index] ^ engineConfiguration->invertSecondaryTriggerSignal;
|
||||
}
|
||||
hwHandleShaftSignal(index, state, nowNt);
|
||||
|
||||
currentState[index] = newTriggerState[index];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue