AntennaTracker: add build option to not send RC_CHANNELS_RAW

we keep this around in case we break old OSD setups
This commit is contained in:
Peter Barker 2024-07-25 16:22:14 +10:00 committed by Andrew Tridgell
parent be377da6a4
commit 7d6aeb38e4
1 changed files with 2 additions and 0 deletions

View File

@ -289,7 +289,9 @@ static const ap_message STREAM_RAW_CONTROLLER_msgs[] = {
}; };
static const ap_message STREAM_RC_CHANNELS_msgs[] = { static const ap_message STREAM_RC_CHANNELS_msgs[] = {
MSG_RC_CHANNELS, MSG_RC_CHANNELS,
#if AP_MAVLINK_MSG_RC_CHANNELS_RAW_ENABLED
MSG_RC_CHANNELS_RAW, // only sent on a mavlink1 connection MSG_RC_CHANNELS_RAW, // only sent on a mavlink1 connection
#endif
}; };
static const ap_message STREAM_EXTRA1_msgs[] = { static const ap_message STREAM_EXTRA1_msgs[] = {
MSG_ATTITUDE, MSG_ATTITUDE,