AP_LandingGear: avoid use of MINIMIZE_FEATURES in AP_LandingGear_config.h

This commit is contained in:
Peter Barker 2023-07-28 13:48:15 +10:00 committed by Andrew Tridgell
parent ac9fd6fcb6
commit 09a59bc934
1 changed files with 1 additions and 3 deletions

View File

@ -3,8 +3,6 @@
#include <AP_Vehicle/AP_Vehicle_Type.h>
#include <AP_HAL/AP_HAL_Boards.h>
// 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