Add TODO for SD Extender support.
This commit is contained in:
@@ -1439,7 +1439,7 @@ void AnycubicTouchscreenClass::RenderCurrentFolder(uint16_t selectedNumber) {
|
|||||||
SERIAL_ECHOLNPGM("TFT Serial Debug: Directory UP (cd ..)");
|
SERIAL_ECHOLNPGM("TFT Serial Debug: Directory UP (cd ..)");
|
||||||
#endif
|
#endif
|
||||||
currentFileList.upDir();
|
currentFileList.upDir();
|
||||||
} else if (isMediaInserted()) {
|
} else if (isMediaInserted() && (currentFileList.count() > 0)) {
|
||||||
#ifdef ANYCUBIC_TFT_DEBUG
|
#ifdef ANYCUBIC_TFT_DEBUG
|
||||||
SERIAL_ECHOLNPGM("TFT Serial Debug: Enter Directoy");
|
SERIAL_ECHOLNPGM("TFT Serial Debug: Enter Directoy");
|
||||||
#endif
|
#endif
|
||||||
@@ -1451,6 +1451,8 @@ void AnycubicTouchscreenClass::RenderCurrentFolder(uint16_t selectedNumber) {
|
|||||||
#else
|
#else
|
||||||
currentFileList.changeDir(currentTouchscreenSelection);
|
currentFileList.changeDir(currentTouchscreenSelection);
|
||||||
#endif
|
#endif
|
||||||
|
} else {
|
||||||
|
// TODO: try to remount the SD card
|
||||||
}
|
}
|
||||||
if (SpecialMenu == false) {
|
if (SpecialMenu == false) {
|
||||||
currentTouchscreenSelection[0] = 0;
|
currentTouchscreenSelection[0] = 0;
|
||||||
|
Reference in New Issue
Block a user