mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-08 17:03:57 -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)
|
#define APM_BUILD_TYPE(type) ((type) == APM_BUILD_UNKNOWN)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if APM_BUILD_TYPE(APM_BUILD_APMrover2)
|
#if APM_BUILD_TYPE(APM_BUILD_APMrover2) || APM_BUILD_TYPE(APM_BUILD_ArduPlane) || APM_BUILD_TYPE(APM_BUILD_ArduCopter)
|
||||||
# define APM_BUILD_FUNCTOR 1
|
|
||||||
#elif APM_BUILD_TYPE(APM_BUILD_ArduPlane)
|
|
||||||
# define APM_BUILD_FUNCTOR 1
|
# define APM_BUILD_FUNCTOR 1
|
||||||
#else
|
#else
|
||||||
# define APM_BUILD_FUNCTOR 0
|
# define APM_BUILD_FUNCTOR 0
|
||||||
|
Loading…
Reference in New Issue
Block a user