From dece505dec0dd8932bae4624abf80595f6d8b4f1 Mon Sep 17 00:00:00 2001 From: rusefi Date: Tue, 6 Aug 2019 22:33:27 -0400 Subject: [PATCH] fixing build? --- firmware/config/stm32f4ems/efifeatures.h | 4 ++++ firmware/hw_layer/trigger_input.cpp | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) 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