Implement MEGA PRO inbuilt 4 point leveling

This commit is contained in:
Knutwurst
2022-02-10 09:25:13 +01:00
parent 7071629534
commit b035c464dd

View File

@@ -2286,6 +2286,7 @@ void AnycubicTouchscreenClass::GetCommandFromTFT() {
WRITE(HEATER_0_PIN, 0);
}
break;
#endif
case 51:
if (CodeSeen('H')) {
queue.enqueue_now_P(PSTR("G1 Z5 F500"));
@@ -2310,9 +2311,7 @@ void AnycubicTouchscreenClass::GetCommandFromTFT() {
else if (CodeSeen('L')) {
queue.enqueue_now_P(PSTR("G1 X100 Y100 Z50 F5000"));
}
}
break;
#endif
default:
break;
}