Browse Source

Fix FileList::isAtRootDir

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

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

@ -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…
Cancel
Save