i will confess: i need to fit a debug build into discovery

This commit is contained in:
rusefillc 2022-04-16 17:24:31 -04:00
parent 4ddb328e21
commit b9769f59cc
2 changed files with 5 additions and 1 deletions

View File

@ -38,6 +38,8 @@ WaveChart waveChart;
static scheduling_s debugToggleScheduling;
#define DEBUG_PIN_DELAY US2NT(60)
#if EFI_SHAFT_POSITION_INPUT
TriggerCentral::TriggerCentral() :
vvtEventRiseCounter(),
vvtEventFallCounter(),
@ -58,7 +60,6 @@ int TriggerCentral::getHwEventCounter(int index) const {
return hwEventCounters[index];
}
#if EFI_SHAFT_POSITION_INPUT
angle_t TriggerCentral::getVVTPosition(uint8_t bankIndex, uint8_t camIndex) {
if (bankIndex >= BANKS_COUNT || camIndex >= CAMS_PER_BANK) {

View File

@ -107,7 +107,10 @@ public:
// synchronization event position
angle_t vvtPosition[BANKS_COUNT][CAMS_PER_BANK];
#if EFI_SHAFT_POSITION_INPUT
TriggerStateWithRunningStatistics triggerState;
``#endif //EFI_SHAFT_POSITION_INPUT
TriggerWaveform triggerShape;
TriggerState vvtState[BANKS_COUNT][CAMS_PER_BANK];