diff --git a/Marlin/src/lcd/anycubic_touchscreen.cpp b/Marlin/src/lcd/anycubic_touchscreen.cpp index db43d66c..3321a0e6 100755 --- a/Marlin/src/lcd/anycubic_touchscreen.cpp +++ b/Marlin/src/lcd/anycubic_touchscreen.cpp @@ -2287,6 +2287,8 @@ void AnycubicTouchscreenClass::GetCommandFromTFT() { } break; #endif + + #if ENABLED(KNUTWURST_MEGA_P) case 51: if (CodeSeen('H')) { queue.enqueue_now_P(PSTR("G1 Z5 F500")); @@ -2311,9 +2313,11 @@ void AnycubicTouchscreenClass::GetCommandFromTFT() { else if (CodeSeen('L')) { queue.enqueue_now_P(PSTR("G1 X100 Y100 Z50 F5000")); } - break; + break; + #endif + default: - break; + break; } } TFTbufindw = (TFTbufindw + 1)%TFTBUFSIZE;