i will confess: i need to fit a debug build into discovery
This commit is contained in:
parent
4ddb328e21
commit
b9769f59cc
|
@ -38,6 +38,8 @@ WaveChart waveChart;
|
||||||
static scheduling_s debugToggleScheduling;
|
static scheduling_s debugToggleScheduling;
|
||||||
#define DEBUG_PIN_DELAY US2NT(60)
|
#define DEBUG_PIN_DELAY US2NT(60)
|
||||||
|
|
||||||
|
#if EFI_SHAFT_POSITION_INPUT
|
||||||
|
|
||||||
TriggerCentral::TriggerCentral() :
|
TriggerCentral::TriggerCentral() :
|
||||||
vvtEventRiseCounter(),
|
vvtEventRiseCounter(),
|
||||||
vvtEventFallCounter(),
|
vvtEventFallCounter(),
|
||||||
|
@ -58,7 +60,6 @@ int TriggerCentral::getHwEventCounter(int index) const {
|
||||||
return hwEventCounters[index];
|
return hwEventCounters[index];
|
||||||
}
|
}
|
||||||
|
|
||||||
#if EFI_SHAFT_POSITION_INPUT
|
|
||||||
|
|
||||||
angle_t TriggerCentral::getVVTPosition(uint8_t bankIndex, uint8_t camIndex) {
|
angle_t TriggerCentral::getVVTPosition(uint8_t bankIndex, uint8_t camIndex) {
|
||||||
if (bankIndex >= BANKS_COUNT || camIndex >= CAMS_PER_BANK) {
|
if (bankIndex >= BANKS_COUNT || camIndex >= CAMS_PER_BANK) {
|
||||||
|
|
|
@ -107,7 +107,10 @@ public:
|
||||||
// synchronization event position
|
// synchronization event position
|
||||||
angle_t vvtPosition[BANKS_COUNT][CAMS_PER_BANK];
|
angle_t vvtPosition[BANKS_COUNT][CAMS_PER_BANK];
|
||||||
|
|
||||||
|
#if EFI_SHAFT_POSITION_INPUT
|
||||||
TriggerStateWithRunningStatistics triggerState;
|
TriggerStateWithRunningStatistics triggerState;
|
||||||
|
``#endif //EFI_SHAFT_POSITION_INPUT
|
||||||
|
|
||||||
TriggerWaveform triggerShape;
|
TriggerWaveform triggerShape;
|
||||||
|
|
||||||
TriggerState vvtState[BANKS_COUNT][CAMS_PER_BANK];
|
TriggerState vvtState[BANKS_COUNT][CAMS_PER_BANK];
|
||||||
|
|
Loading…
Reference in New Issue