diff --git a/AntennaTracker/GCS_Mavlink.cpp b/AntennaTracker/GCS_Mavlink.cpp index c99d22bb0d..2a7a6745f3 100644 --- a/AntennaTracker/GCS_Mavlink.cpp +++ b/AntennaTracker/GCS_Mavlink.cpp @@ -289,7 +289,9 @@ static const ap_message STREAM_RAW_CONTROLLER_msgs[] = { }; static const ap_message STREAM_RC_CHANNELS_msgs[] = { MSG_RC_CHANNELS, +#if AP_MAVLINK_MSG_RC_CHANNELS_RAW_ENABLED MSG_RC_CHANNELS_RAW, // only sent on a mavlink1 connection +#endif }; static const ap_message STREAM_EXTRA1_msgs[] = { MSG_ATTITUDE,