Skip to content

Commit

Permalink
fix meshtastic#4448 (by seeing there is actually no problem) (meshtas…
Browse files Browse the repository at this point in the history
…tic#4517)

Print directory names when listing directories
  • Loading branch information
geeksville authored Aug 20, 2024
1 parent ab7de7f commit 48e0fd7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/FSCommon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ void listDir(const char *dirname, uint8_t levels, bool del)
file.close();
}
#else
LOG_DEBUG(" %s (directory)\n", file.name());
listDir(file.name(), levels - 1, del);
file.close();
#endif
Expand All @@ -275,7 +276,7 @@ void listDir(const char *dirname, uint8_t levels, bool del)
file.close();
}
#else
LOG_DEBUG(" %s (%i Bytes)\n", file.name(), file.size());
LOG_DEBUG(" %s (%i Bytes)\n", file.name(), file.size());
file.close();
#endif
}
Expand Down

0 comments on commit 48e0fd7

Please sign in to comment.