Browse Source

GCS_MAVLink: fixed comment

master
Andrew Tridgell 5 years ago committed by Randy Mackay
parent
commit
7591e33f5a
  1. 2
      libraries/GCS_MAVLink/GCS_FTP.cpp

2
libraries/GCS_MAVLink/GCS_FTP.cpp

@ -383,7 +383,7 @@ void GCS_MAVLINK::ftp_worker(void) { @@ -383,7 +383,7 @@ void GCS_MAVLINK::ftp_worker(void) {
request.data[sizeof(request.data) - 1] = 0; // ensure the path is null terminated
// actually open the file
// remove the file/dir
if (AP::FS().unlink((char *)request.data) == -1) {
ftp_error(reply, FTP_ERROR::FailErrno);
break;

Loading…
Cancel
Save