Fix FileList::isAtRootDir
This commit is contained in:
1 parent
b71a755a30
commit
73ac213cdd
1 file changed
+5
-5
@@ -980,11 +980,11 @@ namespace ExtUI {
|
||||
}
|
||||
|
||||
bool FileList::isAtRootDir() {
|
||||
#if ENABLED(SDSUPPORT)
|
||||
card.flag.workDirIsRoot;
|
||||
#else
|
||||
return true;
|
||||
#endif
|
||||
return (true
|
||||
#if ENABLED(SDSUPPORT)
|
||||
&& card.flag.workDirIsRoot
|
||||
#endif
|
||||
);
|
||||
}
|
||||
|
||||
void FileList::upDir() {
|
||||
|
||||
Reference in new issue
Block a user