diff --git a/libraries/GCS_MAVLink/GCS_FTP.cpp b/libraries/GCS_MAVLink/GCS_FTP.cpp index afaa52d94a..1e1d667d1d 100644 --- a/libraries/GCS_MAVLink/GCS_FTP.cpp +++ b/libraries/GCS_MAVLink/GCS_FTP.cpp @@ -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;