Browse Source

Show zprobe_zoffset when BABYSTEP_HOTEND_Z_OFFSET is disabled (#11973)

pull/1/head
InsanityAutomation 6 years ago
committed by Scott Lahteine
parent
commit
8ae113ff36
  1. 7
      Marlin/src/lcd/ultralcd.cpp

7
Marlin/src/lcd/ultralcd.cpp

@ -1331,11 +1331,12 @@ void lcd_quick_feedback(const bool clear_buttons) {
}
if (lcdDrawUpdate) {
#if ENABLED(BABYSTEP_HOTEND_Z_OFFSET)
if (do_probe)
lcd_implementation_drawedit(PSTR(MSG_ZPROBE_ZOFFSET), ftostr43sign(zprobe_zoffset));
else
if (!do_probe)
lcd_implementation_drawedit(PSTR(MSG_IDEX_Z_OFFSET), ftostr43sign(hotend_offset[Z_AXIS][active_extruder]));
else
#endif
lcd_implementation_drawedit(PSTR(MSG_ZPROBE_ZOFFSET), ftostr43sign(zprobe_zoffset));
#if ENABLED(BABYSTEP_ZPROBE_GFX_OVERLAY)
if (do_probe) _lcd_zoffset_overlay_gfx(zprobe_zoffset);
#endif

Loading…
Cancel
Save