mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-01-18 23:49:49 +00:00
Don't close diveDir in fileExists (#20035)
This commit is contained in:
parent
323b3a63d6
commit
f924344cc5
1 changed files with 1 additions and 1 deletions
|
@ -637,7 +637,7 @@ bool CardReader::fileExists(const char * const path) {
|
|||
if (fname) {
|
||||
diveDir->rewind();
|
||||
selectByName(*diveDir, fname);
|
||||
diveDir->close();
|
||||
//diveDir->close();
|
||||
}
|
||||
return !!fname;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue