Fix FileList::isAtRootDir

This commit is contained in:
Scott Lahteine 2019-09-17 19:46:38 -05:00
parent b71a755a30
commit 73ac213cdd

View file

@ -980,11 +980,11 @@ namespace ExtUI {
} }
bool FileList::isAtRootDir() { bool FileList::isAtRootDir() {
return (true
#if ENABLED(SDSUPPORT) #if ENABLED(SDSUPPORT)
card.flag.workDirIsRoot; && card.flag.workDirIsRoot
#else
return true;
#endif #endif
);
} }
void FileList::upDir() { void FileList::upDir() {