From 7d6aeb38e44455c9994d903277aa8465bebd8424 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Thu, 25 Jul 2024 16:22:14 +1000 Subject: [PATCH] AntennaTracker: add build option to not send RC_CHANNELS_RAW we keep this around in case we break old OSD setups --- AntennaTracker/GCS_Mavlink.cpp | 2 ++ 1 file changed, 2 insertions(+) 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,