mirror of https://github.com/ArduPilot/ardupilot
AC_Fence: warn on use of old fence point / rally point protocols
This commit is contained in:
parent
2d7a4b318d
commit
c5f902919e
|
@ -12,6 +12,10 @@
|
|||
#define AP_FENCE_ENABLED 2
|
||||
#endif
|
||||
|
||||
// CODE_REMOVAL
|
||||
// ArduPilot 4.6 sends deprecation warnings for FENCE_POINT/FENCE_FETCH_POINT
|
||||
// ArduPilot 4.7 stops compiling them in
|
||||
// ArduPilot 4.8 removes the code entirely
|
||||
#ifndef AC_POLYFENCE_FENCE_POINT_PROTOCOL_SUPPORT
|
||||
#define AC_POLYFENCE_FENCE_POINT_PROTOCOL_SUPPORT HAL_GCS_ENABLED && AP_FENCE_ENABLED
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue