AP_Vehicle: added APM_BUILD_DELEGATES macro

This commit is contained in:
Andrew Tridgell 2015-05-13 18:32:34 +10:00
parent c3aa8d67fa
commit 98d2b9b3aa
1 changed files with 7 additions and 0 deletions

View File

@ -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