more relaxed VVT debug field

This commit is contained in:
rusefillc 2021-10-17 14:21:09 -04:00
parent c66fde0e15
commit c36e039100
2 changed files with 2 additions and 1 deletions

View File

@ -73,6 +73,7 @@
#define H144_IN_D_2 GPIOE_13
// A22
#define H144_IN_D_AUX3 GPIOC_5
// A20 AIN20
#define H144_IN_D_AUX4 GPIOA_7
#define H176_LS_1 GPIOG_7

View File

@ -805,9 +805,9 @@ void updateTunerStudioState(TunerStudioOutputChannels *tsOutputChannels DECLARE_
// 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;
#endif /* EFI_PROD_CODE */
tsOutputChannels->debugIntField4 = engine->triggerCentral.vvtEventRiseCounter;
tsOutputChannels->debugIntField5 = engine->triggerCentral.vvtEventFallCounter;
#endif /* EFI_PROD_CODE */
tsOutputChannels->debugFloatField1 = engine->triggerCentral.getHwEventCounter((int)SHAFT_PRIMARY_RISING);
tsOutputChannels->debugFloatField2 = engine->triggerCentral.getHwEventCounter((int)SHAFT_SECONDARY_RISING);