trigger input: dead code?

This commit is contained in:
rusefillc 2022-10-21 20:50:36 -04:00
parent 779254f8a4
commit 9cf3bca60c
2 changed files with 0 additions and 8 deletions

View File

@ -17,11 +17,9 @@
#if (HAL_TRIGGER_USE_PAL == TRUE) || (HAL_TRIGGER_USE_ADC == TRUE)
#if (HAL_TRIGGER_USE_PAL == TRUE)
void extiTriggerTurnOnInputPins();
int extiTriggerTurnOnInputPin(const char *msg, int index, bool isTriggerShaft);
void extiTriggerTurnOffInputPin(brain_pin_e brainPin);
#else
#define extiTriggerTurnOnInputPins() ((void)0)
int extiTriggerTurnOnInputPin(const char *msg, int index, bool isTriggerShaft) {
UNUSED(msg);
UNUSED(index);
@ -160,9 +158,6 @@ void startTriggerInputPins() {
}
void turnOnTriggerInputPins() {
/* init all trigger HW available */
extiTriggerTurnOnInputPins();
applyNewTriggerInputPins();
}

View File

@ -76,7 +76,4 @@ void extiTriggerTurnOffInputPin(brain_pin_e brainPin) {
efiExtiDisablePin(brainPin);
}
void extiTriggerTurnOnInputPins() {
}
#endif /* (EFI_SHAFT_POSITION_INPUT && (HAL_TRIGGER_USE_PAL == TRUE)) */