CardReader cleanup
This commit is contained in:
parent
3245a5fdf6
commit
cd5735130d
@ -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 New Issue
Block a user