Browse Source

Fix FileList::isAtRootDir

pull/1/head
Scott Lahteine 5 years ago
parent
commit
73ac213cdd
  1. 10
      Marlin/src/lcd/extensible_ui/ui_api.cpp

10
Marlin/src/lcd/extensible_ui/ui_api.cpp

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

Loading…
Cancel
Save