Skip to content

Commit

Permalink
last clang format issues corrected
Browse files Browse the repository at this point in the history
  • Loading branch information
hasenradball committed Nov 18, 2024
1 parent dca0893 commit b1fd63e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libraries/SD/examples/listFilesEnhanced/listfilesEnhanced.ino
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,13 @@ void collectDirectories(const String &dirname, std::vector<String> &directories)
Serial.printf("Error: Verzeichnis %s konnte nicht geöffnet werden\n", dirname.c_str());
return;
}
directories.push_back(dirname); // Verzeichnis speichern
directories.push_back(dirname); // Verzeichnis speichern

File file = root.openNextFile();
while (file) {
if (file.isDirectory()) {
String fullPath = joinPath(dirname, file.name()); // Vollständigen Pfad erstellen
collectDirectories(fullPath, directories); // Rekursiver Aufruf
String fullPath = joinPath(dirname, file.name()); // Vollständigen Pfad erstellen
collectDirectories(fullPath, directories); // Rekursiver Aufruf
}
file = root.openNextFile();
}
Expand Down

0 comments on commit b1fd63e

Please sign in to comment.