Skip to content

Commit

Permalink
Update libraries/SD/examples/listFilesEnhanced/listfilesEnhanced.ino
Browse files Browse the repository at this point in the history
Co-authored-by: Max Prokhorov <[email protected]>
  • Loading branch information
hasenradball and mcspr authored Nov 19, 2024
1 parent b1fd63e commit ec1f91e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ String joinPath(const String &base, const String &name) {
void collectDirectories(const String &dirname, std::vector<String> &directories) {
File root = SD.open(dirname);
if (!root || !root.isDirectory()) {
Serial.printf("Error: Verzeichnis %s konnte nicht geöffnet werden\n", dirname.c_str());
Serial.printf("Error: Cannot open %s\n", dirname.c_str());
return;
}
directories.push_back(dirname); // Verzeichnis speichern
Expand Down

0 comments on commit ec1f91e

Please sign in to comment.