ArduPlane: 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 cd92e301ab
commit be3f292ba4
1 changed files with 2 additions and 0 deletions

View File

@ -596,7 +596,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_POSITION_TARGET_GLOBAL_INT,
};
static const ap_message STREAM_POSITION_msgs[] = {