mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
GCS_MAVLink: fixed corruption of FTP reply component ID
this led to not being able to do FTP transfers with support.ardupilot.org unless MissionPlanner used the same component ID as the support engineer GCS
This commit is contained in:
parent
922c08f60c
commit
471f847245
@ -169,7 +169,7 @@ void GCS_MAVLINK::ftp_worker(void) {
|
||||
}
|
||||
|
||||
// if it's a rerequest and we still have the last response then send it
|
||||
if ((request.sysid == reply.sysid) && (request.compid = reply.compid) &&
|
||||
if ((request.sysid == reply.sysid) && (request.compid == reply.compid) &&
|
||||
(request.session == reply.session) && (request.seq_number + 1 == reply.seq_number)) {
|
||||
ftp_push_replies(reply);
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user