Show zprobe_zoffset when BABYSTEP_HOTEND_Z_OFFSET is disabled (#11973)

2.0.x
InsanityAutomation 6 years ago committed by Scott Lahteine
parent 2e98437392
commit 8ae113ff36

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

Loading…
Cancel
Save