bugfix: DBG_TRIGGER_COUNTERS was overwriting VVT counters
This commit is contained in:
parent
f0f4513998
commit
1d5fccc4bc
|
@ -804,10 +804,10 @@ void updateTunerStudioState(TunerStudioOutputChannels *tsOutputChannels DECLARE_
|
|||
tsOutputChannels->debugIntField2 = engine->triggerCentral.getHwEventCounter((int)SHAFT_SECONDARY_FALLING);
|
||||
// no one uses shaft so far tsOutputChannels->debugIntField3 = engine->triggerCentral.getHwEventCounter((int)SHAFT_3RD_FALLING);
|
||||
#if EFI_PROD_CODE && HAL_USE_ICU == TRUE
|
||||
tsOutputChannels->debugIntField3 = icuRisingCallbackCounter + icuFallingCallbackCounter;
|
||||
tsOutputChannels->debugFloatField3 = icuRisingCallbackCounter + icuFallingCallbackCounter;
|
||||
#endif /* EFI_PROD_CODE */
|
||||
tsOutputChannels->debugIntField4 = engine->triggerCentral.vvtEventRiseCounter[0];
|
||||
tsOutputChannels->debugIntField5 = engine->triggerCentral.vvtEventFallCounter[0];
|
||||
tsOutputChannels->debugFloatField4 = engine->triggerCentral.vvtEventRiseCounter[0];
|
||||
tsOutputChannels->debugFloatField5 = engine->triggerCentral.vvtEventFallCounter[0];
|
||||
|
||||
tsOutputChannels->debugFloatField1 = engine->triggerCentral.getHwEventCounter((int)SHAFT_PRIMARY_RISING);
|
||||
tsOutputChannels->debugFloatField2 = engine->triggerCentral.getHwEventCounter((int)SHAFT_SECONDARY_RISING);
|
||||
|
|
Loading…
Reference in New Issue