ardupilot/libraries/AP_LandingGear/AP_LandingGear_config.h

11 lines
341 B
C

#pragma once
#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)))
#endif