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