diff --git a/libraries/AC_Fence/AC_Fence_config.h b/libraries/AC_Fence/AC_Fence_config.h index 119616c981..3e10480711 100644 --- a/libraries/AC_Fence/AC_Fence_config.h +++ b/libraries/AC_Fence/AC_Fence_config.h @@ -17,5 +17,5 @@ // 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 +#define AC_POLYFENCE_FENCE_POINT_PROTOCOL_SUPPORT 0 #endif