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