weird: happy running car shows unrealistic vvtSyncGapRatio #5152
This commit is contained in:
parent
3b669fd0d3
commit
32e8de134f
|
@ -311,6 +311,7 @@ void hwHandleVvtCamSignal(TriggerValue front, efitick_t nowNt, int index) {
|
||||||
front == TriggerValue::RISE ? SHAFT_PRIMARY_RISING : SHAFT_PRIMARY_FALLING, nowNt);
|
front == TriggerValue::RISE ? SHAFT_PRIMARY_RISING : SHAFT_PRIMARY_FALLING, nowNt);
|
||||||
// yes we log data from all VVT channels into same fields for now
|
// yes we log data from all VVT channels into same fields for now
|
||||||
tc->triggerState.vvtSyncGapRatio = vvtDecoder.triggerSyncGapRatio;
|
tc->triggerState.vvtSyncGapRatio = vvtDecoder.triggerSyncGapRatio;
|
||||||
|
tc->triggerState.vvttoothDurations0 = vvtDecoder.toothDurations[0];
|
||||||
tc->triggerState.vvtStateIndex = vvtDecoder.currentCycle.current_index;
|
tc->triggerState.vvtStateIndex = vvtDecoder.currentCycle.current_index;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue