Add root flag to CardReader (#15275)
This commit is contained in:
1 parent
eb1a368277
commit
98233b1de0
4 files changed
+11
-18
No files matched your search
@@ -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