mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-23 20:18:52 +00:00
Merge pull request #3156 from esenapaj/patch-3
Fix CardReader::lsDive()
This commit is contained in:
commit
57e82cacc9
@ -88,7 +88,7 @@ void CardReader::lsDive(const char *prepend, SdFile parent, const char * const m
|
|||||||
// close() is done automatically by destructor of SdFile
|
// close() is done automatically by destructor of SdFile
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
char pn0 = p.name[0];
|
uint8_t pn0 = p.name[0];
|
||||||
if (pn0 == DIR_NAME_FREE) break;
|
if (pn0 == DIR_NAME_FREE) break;
|
||||||
if (pn0 == DIR_NAME_DELETED || pn0 == '.') continue;
|
if (pn0 == DIR_NAME_DELETED || pn0 == '.') continue;
|
||||||
if (longFilename[0] == '.') continue;
|
if (longFilename[0] == '.') continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user