* vvttoothDurations0 NT2US #5193 * vvttoothDurations0 NT2US #5193
This commit is contained in:
parent
0e74456abf
commit
134d34385e
|
@ -311,7 +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.vvtToothDurations0 = (uint32_t)NT2US(vvtDecoder.toothDurations[0]);
|
||||||
tc->triggerState.vvtStateIndex = vvtDecoder.currentCycle.current_index;
|
tc->triggerState.vvtStateIndex = vvtDecoder.currentCycle.current_index;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
struct_no_prefix trigger_state_s
|
struct_no_prefix trigger_state_s
|
||||||
uint32_t crankSynchronizationCounter;Crank sync counter\nUsually matches crank revolutions
|
uint32_t crankSynchronizationCounter;Crank sync counter\nUsually matches crank revolutions
|
||||||
float vvtSyncGapRatio;;"", 1, 0, -10000, 10000, 3
|
float vvtSyncGapRatio;;"", 1, 0, -10000, 10000, 3
|
||||||
float vvttoothDurations0;;"", 1, 0, -10000, 10000, 3
|
uint32_t vvtToothDurations0;;"us", 1, 0, 0, 100000, 3
|
||||||
float vvtCurrentPosition;;"", 1, 0, -10000, 10000, 3
|
float vvtCurrentPosition;;"", 1, 0, -10000, 10000, 3
|
||||||
float triggerSyncGapRatio;@@GAUGE_NAME_TRG_GAP@@;"", 1, 0, -10000, 10000, 3
|
float triggerSyncGapRatio;@@GAUGE_NAME_TRG_GAP@@;"", 1, 0, -10000, 10000, 3
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue