From 45816ee091893b91a332f5ab5406cf47766635e3 Mon Sep 17 00:00:00 2001 From: Knutwurst <36196269+knutwurst@users.noreply.github.com> Date: Mon, 27 Jul 2020 19:26:28 +0200 Subject: [PATCH] Bugfix #7 Revert step handling for mesh leveling. --- Marlin/src/lcd/anycubic_touchscreen.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Marlin/src/lcd/anycubic_touchscreen.cpp b/Marlin/src/lcd/anycubic_touchscreen.cpp index d09edb04..c26c4b38 100755 --- a/Marlin/src/lcd/anycubic_touchscreen.cpp +++ b/Marlin/src/lcd/anycubic_touchscreen.cpp @@ -519,15 +519,17 @@ void AnycubicTouchscreenClass::HandleSpecialMenu() || (strcasestr(currentTouchscreenSelection, SM_Z_UP_001_S) != NULL)) { SERIAL_ECHOLNPGM("Special Menu: Z Up 0.01"); - queue.enqueue_now_P(PSTR("G91\nG1 Z+0.03\nG90")); - queue.enqueue_now_P(PSTR("G91\nG1 Z-0.02\nG90")); + queue.inject_P(PSTR("G91\nG1 Z+0.01\nG90")); + //queue.inject_P(PSTR("G91\nG1 Z+0.01\nG90")); + //queue.inject_P(PSTR("G91\nG1 Z-0.02\nG90")); } else if ((strcasestr(currentTouchscreenSelection, SM_Z_DN_001_L) != NULL) || (strcasestr(currentTouchscreenSelection, SM_Z_DN_001_L) != NULL)) { SERIAL_ECHOLNPGM("Special Menu: Z Down 0.01"); - queue.enqueue_now_P(PSTR("G91\nG1 Z+0.02\nG90")); - queue.enqueue_now_P(PSTR("G91\nG1 Z-0.03\nG90")); + queue.inject_P(PSTR("G91\nG1 Z-0.01\nG90")); + //queue.inject_P(PSTR("G91\nG1 Z+0.02\nG90")); + //queue.inject_P(PSTR("G91\nG1 Z-0.03\nG90")); } #endif