Skip to content

Commit

Permalink
Bugfix MarlinFirmware#7 Revert step handling for mesh leveling.
Browse files Browse the repository at this point in the history
  • Loading branch information
knutwurst committed Jul 27, 2020
1 parent a709457 commit 45816ee
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Marlin/src/lcd/anycubic_touchscreen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 45816ee

Please sign in to comment.