AP_Vehicle: make copter use functors

This commit is contained in:
Andrew Tridgell 2015-05-30 12:53:36 +10:00 committed by Randy Mackay
parent 278883c521
commit 1088e72fda

View File

@ -38,9 +38,7 @@
#define APM_BUILD_TYPE(type) ((type) == APM_BUILD_UNKNOWN)
#endif
#if APM_BUILD_TYPE(APM_BUILD_APMrover2)
# define APM_BUILD_FUNCTOR 1
#elif APM_BUILD_TYPE(APM_BUILD_ArduPlane)
#if APM_BUILD_TYPE(APM_BUILD_APMrover2) || APM_BUILD_TYPE(APM_BUILD_ArduPlane) || APM_BUILD_TYPE(APM_BUILD_ArduCopter)
# define APM_BUILD_FUNCTOR 1
#else
# define APM_BUILD_FUNCTOR 0