Browse Source

mavlink FTP: Remove workaround after QGC side fix

sbg
Lorenz Meier 10 years ago
parent
commit
d9d25363b4
  1. 3
      src/modules/mavlink/mavlink_ftp.cpp

3
src/modules/mavlink/mavlink_ftp.cpp

@ -381,8 +381,7 @@ MavlinkFTP::_workList(PayloadHeader* payload) @@ -381,8 +381,7 @@ MavlinkFTP::_workList(PayloadHeader* payload)
}
break;
case DTYPE_DIRECTORY:
// XXX @DonLakeFlyer: Remove the first condition for the test setup
if ((entry.d_name[0] == '.') || strcmp(entry.d_name, ".") == 0 || strcmp(entry.d_name, "..") == 0) {
if (strcmp(entry.d_name, ".") == 0 || strcmp(entry.d_name, "..") == 0) {
// Don't bother sending these back
direntType = kDirentSkip;
} else {

Loading…
Cancel
Save