Show Special Menu even if no SD card is inserted.

This commit is contained in:
Knutwurst
2020-08-22 15:07:43 +02:00
parent 810526e377
commit 98852f7164

View File

@@ -790,7 +790,8 @@ void AnycubicTouchscreenClass::PrintList()
#endif #endif
else else
{ {
// Do nothing? HARDWARE_SERIAL_PROTOCOLLNPGM(SM_SPECIAL_MENU_S);
HARDWARE_SERIAL_PROTOCOLLNPGM(SM_SPECIAL_MENU_L);
} }
} }
@@ -1180,7 +1181,7 @@ void AnycubicTouchscreenClass::GetCommandFromTFT()
} }
else else
{ {
HARDWARE_SERIAL_PROTOCOLPGM("J02"); HARDWARE_SERIAL_PROTOCOLPGM("J02"); // J02 SD Card initilized
} }
} }
else else
@@ -1216,10 +1217,8 @@ void AnycubicTouchscreenClass::GetCommandFromTFT()
currentTouchscreenSelection[0] = 0; currentTouchscreenSelection[0] = 0;
if (!IS_SD_INSERTED()) if (!IS_SD_INSERTED())
{ {
HARDWARE_SERIAL_PROTOCOLPGM("J02"); HARDWARE_SERIAL_PROTOCOLPGM("J02"); // J02 SD Card initilized
HARDWARE_SERIAL_ENTER(); HARDWARE_SERIAL_ENTER();
}
else
{ {
if (CodeSeen('S')) if (CodeSeen('S'))
filenumber = CodeValue(); filenumber = CodeValue();