fix #4448 (by seeing there is actually no problem) (#4517)

Print directory names when listing directories
This commit is contained in:
geeksville 2024-08-20 15:38:39 -07:00 committed by GitHub
parent ab7de7f6a0
commit 48e0fd7ed0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -249,6 +249,7 @@ void listDir(const char *dirname, uint8_t levels, bool del)
file.close(); file.close();
} }
#else #else
LOG_DEBUG(" %s (directory)\n", file.name());
listDir(file.name(), levels - 1, del); listDir(file.name(), levels - 1, del);
file.close(); file.close();
#endif #endif