Browse Source

GCS_MAVLink: schedule current waypoint rather than immediate send

This message may not fit in our outgoing buffer
zr-v5.1
Peter Barker 4 years ago committed by Andrew Tridgell
parent
commit
c5e62eb6e4
  1. 2
      libraries/GCS_MAVLink/GCS_Common.cpp

2
libraries/GCS_MAVLink/GCS_Common.cpp

@ -517,7 +517,7 @@ void GCS_MAVLINK::handle_mission_set_current(AP_Mission &mission, const mavlink_
// set current command // set current command
if (mission.set_current_cmd(packet.seq)) { if (mission.set_current_cmd(packet.seq)) {
mavlink_msg_mission_current_send(chan, packet.seq); send_message(MSG_CURRENT_WAYPOINT);
} }
} }

Loading…
Cancel
Save