ArduSub: don't send fence_status mavlink message if fence not compiled in

This commit is contained in:
Peter Barker 2023-10-03 20:49:34 +11:00 committed by Peter Barker
parent be3f292ba4
commit 5c10db1e0c
1 changed files with 2 additions and 0 deletions

View File

@ -354,7 +354,9 @@ static const ap_message STREAM_EXTENDED_STATUS_msgs[] = {
MSG_GPS2_RAW,
MSG_GPS2_RTK,
MSG_NAV_CONTROLLER_OUTPUT,
#if AP_FENCE_ENABLED
MSG_FENCE_STATUS,
#endif
MSG_NAMED_FLOAT
};
static const ap_message STREAM_POSITION_msgs[] = {