From b0aa1deac2618845dc95d0aa94eb2dd830111118 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 13 Dec 2011 20:38:20 +1100 Subject: [PATCH] MAVLink: fixed link flood on waypoint upload --- ArduPlane/GCS_Mavlink.pde | 1 + 1 file changed, 1 insertion(+) diff --git a/ArduPlane/GCS_Mavlink.pde b/ArduPlane/GCS_Mavlink.pde index 1d4eb0b7d2..9b19f4a846 100644 --- a/ArduPlane/GCS_Mavlink.pde +++ b/ArduPlane/GCS_Mavlink.pde @@ -787,6 +787,7 @@ GCS_MAVLINK::update(void) if (waypoint_receiving && waypoint_request_i <= (unsigned)g.command_total && tnow > waypoint_timelast_request + 500) { + waypoint_timelast_request = tnow; send_message(MSG_NEXT_WAYPOINT); }