From 09a59bc93416f3c4fd37cb5b8bccf4a9d949afa3 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Fri, 28 Jul 2023 13:48:15 +1000 Subject: [PATCH] AP_LandingGear: avoid use of MINIMIZE_FEATURES in AP_LandingGear_config.h --- libraries/AP_LandingGear/AP_LandingGear_config.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libraries/AP_LandingGear/AP_LandingGear_config.h b/libraries/AP_LandingGear/AP_LandingGear_config.h index e6e1015ffe..668c03b074 100644 --- a/libraries/AP_LandingGear/AP_LandingGear_config.h +++ b/libraries/AP_LandingGear/AP_LandingGear_config.h @@ -3,8 +3,6 @@ #include #include -// historical compatability; only Copters get it - and Plane on -// non-minimized boards. #ifndef AP_LANDINGGEAR_ENABLED -#define AP_LANDINGGEAR_ENABLED (APM_BUILD_COPTER_OR_HELI || (!HAL_MINIMIZE_FEATURES && APM_BUILD_TYPE(APM_BUILD_ArduPlane))) +#define AP_LANDINGGEAR_ENABLED APM_BUILD_COPTER_OR_HELI || APM_BUILD_TYPE(APM_BUILD_ArduPlane) #endif