mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-01 21:48:28 -04:00
AP_Vehicle: make copter use functors
This commit is contained in:
parent
278883c521
commit
1088e72fda
@ -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…
Reference in New Issue
Block a user