diff --git a/firmware/config/stm32f4ems/efifeatures.h b/firmware/config/stm32f4ems/efifeatures.h index 9e0c0fff09..0a238f2957 100644 --- a/firmware/config/stm32f4ems/efifeatures.h +++ b/firmware/config/stm32f4ems/efifeatures.h @@ -66,6 +66,10 @@ #define EFI_ICU_INPUTS TRUE #endif +#ifndef HAL_TRIGGER_USE_PAL +#define HAL_TRIGGER_USE_PAL FALSE +#endif /* HAL_TRIGGER_USE_PAL */ + /** * TunerStudio support. */ diff --git a/firmware/hw_layer/trigger_input.cpp b/firmware/hw_layer/trigger_input.cpp index 1920094594..2966f5f04e 100644 --- a/firmware/hw_layer/trigger_input.cpp +++ b/firmware/hw_layer/trigger_input.cpp @@ -14,10 +14,6 @@ #include "global.h" -#ifndef HAL_TRIGGER_USE_PAL -#define HAL_TRIGGER_USE_PAL FALSE -#endif /* HAL_TRIGGER_USE_PAL */ - volatile int icuWidthCallbackCounter = 0; volatile int icuWidthPeriodCounter = 0; bool hwTriggerInputEnabled = true; // this is useful at least for real hardware integration testing