mirror of https://github.com/ArduPilot/ardupilot
AP_Vehicle: added APM_BUILD_DELEGATES macro
This commit is contained in:
parent
c3aa8d67fa
commit
98d2b9b3aa
|
@ -74,4 +74,11 @@ public:
|
|||
#define APM_BUILD_TYPE(type) ((type) == APM_BUILD_UNKNOWN)
|
||||
#endif
|
||||
|
||||
|
||||
#if APM_BUILD_TYPE(APM_BUILD_APMrover2) || APM_BUILD_TYPE(APM_BUILD_ArduPlane)
|
||||
# define APM_BUILD_DELEGATES 1
|
||||
#else
|
||||
# define APM_BUILD_DELEGATES 0
|
||||
#endif
|
||||
|
||||
#endif // AP_VEHICLE_H
|
||||
|
|
Loading…
Reference in New Issue