NB2 hellen-72-rev-d something is off #2958

This commit is contained in:
Andrey 2021-07-13 18:02:29 -04:00
parent 841875fb94
commit b20e6ae8a5
1 changed files with 3 additions and 3 deletions

View File

@ -66,7 +66,7 @@ void CsvReader::processLine(EngineTestHelper *eth) {
timeStamp += m_timestampOffset;
eth->setTimeAndInvokeEventsUs(1'000'000 * timeStamp);
for (int index = 0; index < m_triggerCount; index++) {
for (size_t index = 0; index < m_triggerCount; index++) {
if (currentState[index] == newState[index]) {
continue;
}
@ -77,7 +77,7 @@ void CsvReader::processLine(EngineTestHelper *eth) {
currentState[index] = newState[index];
}
for (int vvtIndex = 0; vvtIndex < m_vvtCount ; vvtIndex++) {
for (size_t vvtIndex = 0; vvtIndex < m_vvtCount ; vvtIndex++) {
if (currentVvtState[vvtIndex] == newVvtState[vvtIndex]) {
continue;
}
@ -86,7 +86,7 @@ void CsvReader::processLine(EngineTestHelper *eth) {
trigger_value_e event = newVvtState[vvtIndex] ? TV_RISE : TV_FALL;
hwHandleVvtCamSignal(event, nowNt, vvtIndex PASS_ENGINE_PARAMETER_SUFFIX);
currentVvtState[vvtIndex] == newVvtState[vvtIndex];
currentVvtState[vvtIndex] = newVvtState[vvtIndex];
}
}