CardReader cleanup
This commit is contained in:
parent
4bd1ecf8a7
commit
4648351270
|
@ -810,7 +810,7 @@ const char* CardReader::diveToFile(const bool update_cwd, SdFile*& curDir, const
|
||||||
|
|
||||||
// Open curDir
|
// Open curDir
|
||||||
if (!sub->open(curDir, dosSubdirname, O_READ)) {
|
if (!sub->open(curDir, dosSubdirname, O_READ)) {
|
||||||
SERIAL_ECHOLNPAIR(STR_SD_OPEN_FILE_FAIL, dosSubdirname, ".");
|
openFailed(dosSubdirname);
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue