From 89a77f84f1d24253b82bfa868e84e15eae510639 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Fri, 10 Mar 2023 13:10:44 +1100 Subject: [PATCH] AP_Generator: specify HAL_GENERATOR_ENABLED for periph in chibios_hwdef.py --- libraries/AP_Generator/AP_Generator_config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Generator/AP_Generator_config.h b/libraries/AP_Generator/AP_Generator_config.h index 52d747f1b0..3120b04c68 100644 --- a/libraries/AP_Generator/AP_Generator_config.h +++ b/libraries/AP_Generator/AP_Generator_config.h @@ -3,5 +3,5 @@ #include #ifndef HAL_GENERATOR_ENABLED -#define HAL_GENERATOR_ENABLED !HAL_MINIMIZE_FEATURES && !defined(HAL_BUILD_AP_PERIPH) +#define HAL_GENERATOR_ENABLED !HAL_MINIMIZE_FEATURES #endif