mirror of https://github.com/ArduPilot/ardupilot
11 lines
341 B
C
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
|