Add root flag to CardReader (#15275)

This commit is contained in:
Robby Candra authored and Scott Lahteine committed 2019-09-16 17:49:55 -05:00
1 parent eb1a368277
commit 98233b1de0
4 files changed
+11 -18

No files matched your search

+1 -2
View File
@@ -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