Browse Source

AP_Vehicle: make copter use functors

mission-4.1.18
Andrew Tridgell 10 years ago committed by Randy Mackay
parent
commit
1088e72fda
  1. 4
      libraries/AP_Vehicle/AP_Vehicle_Type.h

4
libraries/AP_Vehicle/AP_Vehicle_Type.h

@ -38,9 +38,7 @@ @@ -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

Loading…
Cancel
Save