mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 08:38:36 -04:00
AP_Vehicle: all vehicle types now use functors
This commit is contained in:
parent
f4c61acbc2
commit
9ed0ee12fb
@ -38,10 +38,6 @@
|
||||
#define APM_BUILD_TYPE(type) ((type) == APM_BUILD_UNKNOWN)
|
||||
#endif
|
||||
|
||||
#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
|
||||
#endif
|
||||
#define APM_BUILD_FUNCTOR 1
|
||||
|
||||
#endif // AP_VEHICLE_TYPE_H
|
||||
|
Loading…
Reference in New Issue
Block a user