mavlink FTP: Remove workaround after QGC side fix

This commit is contained in:
Lorenz Meier 2015-05-19 07:07:54 +02:00
parent 3a0fda2d29
commit d9d25363b4
1 changed files with 1 additions and 2 deletions

View File

@ -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 {