Add MEGA_P feature toggle (just in case, the implementation is used by another printer)
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user