mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 11:43:33 +08:00
mavlink FTP: Remove workaround after QGC side fix
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user