mirror of https://github.com/ArduPilot/ardupilot
16 lines
375 B
C
16 lines
375 B
C
#pragma once
|
|
|
|
#include <AP_HAL/AP_HAL_Boards.h>
|
|
|
|
// Enabled 0 is compiled out
|
|
// Enabled 1 is always enabled on all vehicles
|
|
// Enabled 2 is enabled with dummy methods for tracker and blimp
|
|
|
|
#ifndef AP_FENCE_ENABLED
|
|
#define AP_FENCE_ENABLED 2
|
|
#endif
|
|
|
|
#ifndef AC_POLYFENCE_FENCE_POINT_PROTOCOL_SUPPORT
|
|
#define AC_POLYFENCE_FENCE_POINT_PROTOCOL_SUPPORT AP_FENCE_ENABLED
|
|
#endif
|