weird: happy running car shows unrealistic vvtSyncGapRatio #5152

This commit is contained in:
rusefillc 2023-03-04 14:58:31 -05:00
parent 3b669fd0d3
commit 32e8de134f
1 changed files with 1 additions and 0 deletions

View File

@ -311,6 +311,7 @@ void hwHandleVvtCamSignal(TriggerValue front, efitick_t nowNt, int index) {
front == TriggerValue::RISE ? SHAFT_PRIMARY_RISING : SHAFT_PRIMARY_FALLING, nowNt);
// yes we log data from all VVT channels into same fields for now
tc->triggerState.vvtSyncGapRatio = vvtDecoder.triggerSyncGapRatio;
tc->triggerState.vvttoothDurations0 = vvtDecoder.toothDurations[0];
tc->triggerState.vvtStateIndex = vvtDecoder.currentCycle.current_index;
}