Skip to content

Commit

Permalink
Add support for SD extender.
Browse files Browse the repository at this point in the history
  • Loading branch information
knutwurst committed Jun 13, 2023
1 parent ff3c981 commit e0bb686
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ void AnycubicTouchscreenClass::RenderCurrentFileList() {
currentFileOrDirectory[0] = 0;
uint16_t selectedNumber = 0;
FileList currentFileList;

if (SpecialMenu == false) {
currentTouchscreenSelection[0] = 0;
}
Expand Down Expand Up @@ -1451,8 +1451,8 @@ void AnycubicTouchscreenClass::RenderCurrentFolder(uint16_t selectedNumber) {
#else
currentFileList.changeDir(currentTouchscreenSelection);
#endif
} else {
// TODO: try to remount the SD card
} else if (currentTouchscreenSelection[0] == 0 && isMediaInserted()) {
card.mount();
}
if (SpecialMenu == false) {
currentTouchscreenSelection[0] = 0;
Expand Down

0 comments on commit e0bb686

Please sign in to comment.