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