Browse Source

Don't babystep on long click unless printing

As pointed out in #10731
pull/1/head
Scott Lahteine 7 years ago
parent
commit
f07260c33f
  1. 2
      Marlin/src/lcd/ultralcd.cpp

2
Marlin/src/lcd/ultralcd.cpp

@ -512,7 +512,7 @@ uint16_t max_display_update_time = 0;
if (currentScreen == lcd_status_screen)
doubleclick_expire_ms = millis() + DOUBLECLICK_MAX_INTERVAL;
}
else if (screen == lcd_status_screen && currentScreen == lcd_main_menu && PENDING(millis(), doubleclick_expire_ms))
else if (screen == lcd_status_screen && currentScreen == lcd_main_menu && PENDING(millis(), doubleclick_expire_ms) && (planner.movesplanned() || IS_SD_PRINTING))
screen =
#if ENABLED(BABYSTEP_ZPROBE_OFFSET)
lcd_babystep_zoffset

Loading…
Cancel
Save