mirror of https://github.com/ArduPilot/ardupilot
AP_LandingGear: avoid use of MINIMIZE_FEATURES in AP_LandingGear_config.h
This commit is contained in:
parent
ac9fd6fcb6
commit
09a59bc934
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue