From 924b278120e26f71ebc8392b431c57d8e7f3ce3b Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Wed, 23 May 2018 11:23:35 +1000 Subject: [PATCH] Copter: add parameter stream to list-of-all-streams --- ArduCopter/GCS_Mavlink.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ArduCopter/GCS_Mavlink.cpp b/ArduCopter/GCS_Mavlink.cpp index ed85df23ef..14995b94a2 100644 --- a/ArduCopter/GCS_Mavlink.cpp +++ b/ArduCopter/GCS_Mavlink.cpp @@ -482,6 +482,9 @@ static const ap_message STREAM_EXTRA3_msgs[] = { MSG_RPM, MSG_ESC_TELEMETRY, }; +static const ap_message STREAM_PARAMS_msgs[] = { + MSG_NEXT_PARAM +}; static const ap_message STREAM_ADSB_msgs[] = { MSG_ADSB_VEHICLE }; @@ -495,6 +498,7 @@ const struct GCS_MAVLINK::stream_entries GCS_MAVLINK::all_stream_entries[] = { MAV_STREAM_ENTRY(STREAM_EXTRA2), MAV_STREAM_ENTRY(STREAM_EXTRA3), MAV_STREAM_ENTRY(STREAM_ADSB), + MAV_STREAM_ENTRY(STREAM_PARAMS), MAV_STREAM_TERMINATOR // must have this at end of stream_entries };