Browse Source

Plane: fixed a compiler warning

master
Andrew Tridgell 11 years ago
parent
commit
b8781ccea7
  1. 2
      ArduPlane/GCS_Mavlink.pde

2
ArduPlane/GCS_Mavlink.pde

@ -917,7 +917,7 @@ GCS_MAVLINK::update(void)
if (waypoint_receiving && if (waypoint_receiving &&
waypoint_request_i <= waypoint_request_last && waypoint_request_i <= waypoint_request_last &&
tnow - waypoint_timelast_request > 2000 + (stream_slowdown*20)) { tnow - waypoint_timelast_request > 2000U + (stream_slowdown*20)) {
waypoint_timelast_request = tnow; waypoint_timelast_request = tnow;
send_message(MSG_NEXT_WAYPOINT); send_message(MSG_NEXT_WAYPOINT);
} }

Loading…
Cancel
Save