Bugfix for special menu not shown anymore when no sd card is inserted

This commit is contained in:
Knutwurst
2020-12-07 18:21:41 +01:00
parent 206ea2545c
commit eee52d4fd8

View File

@@ -1385,7 +1385,7 @@ void AnycubicTouchscreenClass::GetCommandFromTFT()
#ifdef SDSUPPORT #ifdef SDSUPPORT
currentTouchscreenSelection[0] = 0; currentTouchscreenSelection[0] = 0;
#if ENABLED(KNUTWURST_SPECIAL_MENU_WO_SD) #if DISABLED(KNUTWURST_SPECIAL_MENU_WO_SD)
if (!IS_SD_INSERTED()) if (!IS_SD_INSERTED())
{ {
HARDWARE_SERIAL_PROTOCOLPGM("J02"); HARDWARE_SERIAL_PROTOCOLPGM("J02");