Rover: 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:15 +10:00 committed by Andrew Tridgell
parent 004764032e
commit 40c3d1881c
1 changed files with 2 additions and 0 deletions

View File

@ -560,7 +560,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_SERVO_OUTPUT_RAW, MSG_SERVO_OUTPUT_RAW,
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,