File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Marlin/src/lcd/extui/knutwurst Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -646,7 +646,7 @@ void AnycubicTouchscreenClass::RenderCurrentFileList() {
646
646
currentFileOrDirectory[0 ] = 0 ;
647
647
uint16_t selectedNumber = 0 ;
648
648
FileList currentFileList;
649
-
649
+
650
650
if (SpecialMenu == false ) {
651
651
currentTouchscreenSelection[0 ] = 0 ;
652
652
}
@@ -1451,8 +1451,8 @@ void AnycubicTouchscreenClass::RenderCurrentFolder(uint16_t selectedNumber) {
1451
1451
#else
1452
1452
currentFileList.changeDir (currentTouchscreenSelection);
1453
1453
#endif
1454
- } else {
1455
- // TODO: try to remount the SD card
1454
+ } else if (currentTouchscreenSelection[ 0 ] == 0 && isMediaInserted ()) {
1455
+ card. mount ();
1456
1456
}
1457
1457
if (SpecialMenu == false ) {
1458
1458
currentTouchscreenSelection[0 ] = 0 ;
You can’t perform that action at this time.
0 commit comments