Add MEGA_P feature toggle (just in case, the implementation is used by another printer)

This commit is contained in:
Knutwurst
2022-02-10 09:37:08 +01:00
parent b035c464dd
commit f03df0b280

View File

@@ -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;