mirror of https://github.com/ArduPilot/ardupilot
GCS_MAVLink: avoid copying data twice in ftp transfers
This commit is contained in:
parent
cdcdd5ce27
commit
c1de346150
|
@ -123,7 +123,7 @@ void GCS_MAVLINK::send_ftp_replies(void)
|
|||
reply.chan,
|
||||
0, reply.sysid, reply.compid,
|
||||
payload);
|
||||
ftp.replies->pop(reply);
|
||||
ftp.replies->pop();
|
||||
ftp.last_send_ms = AP_HAL::millis();
|
||||
} else {
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue