Add root flag to CardReader (#15275)
This commit is contained in:
committed by
Scott Lahteine
parent
eb1a368277
commit
98233b1de0
@ -975,8 +975,7 @@ namespace ExtUI {
|
||||
|
||||
bool FileList::isAtRootDir() {
|
||||
#if ENABLED(SDSUPPORT)
|
||||
card.getWorkDirName();
|
||||
return card.filename[0] == '/';
|
||||
card.flag.workDirIsRoot;
|
||||
#else
|
||||
return true;
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user