Changed LCD representation of Z-Offset (#2240)

- Z Offset now shown using two decimal places to better match the
  resolution of the encoder.
master
Marcio Teixeira 7 years ago
parent a97dd38aed
commit 08686a0862

@ -1768,6 +1768,7 @@
#define LULZBOT_BABYSTEP_ZPROBE_GFX_OVERLAY #define LULZBOT_BABYSTEP_ZPROBE_GFX_OVERLAY
#define LULZBOT_THIN_OVERLAY_ARROWS #define LULZBOT_THIN_OVERLAY_ARROWS
#define LULZBOT_DISABLE_KILL_BUTTON #define LULZBOT_DISABLE_KILL_BUTTON
#define LULZBOT_ZOFFSET_PRECISION ftostr32
#endif #endif
/* Marlin requires static PSTRs to display on the LCD display, because of this */ /* Marlin requires static PSTRs to display on the LCD display, because of this */

@ -1273,7 +1273,7 @@ void kill_screen(const char* lcd_msg) {
} }
} }
if (lcdDrawUpdate) { if (lcdDrawUpdate) {
lcd_implementation_drawedit(PSTR(MSG_ZPROBE_ZOFFSET), ftostr43sign(zprobe_zoffset)); lcd_implementation_drawedit(PSTR(MSG_ZPROBE_ZOFFSET), LULZBOT_ZOFFSET_PRECISION(zprobe_zoffset));
#if ENABLED(BABYSTEP_ZPROBE_GFX_OVERLAY) #if ENABLED(BABYSTEP_ZPROBE_GFX_OVERLAY)
_lcd_zoffset_overlay_gfx(zprobe_zoffset); _lcd_zoffset_overlay_gfx(zprobe_zoffset);
#endif #endif

Loading…
Cancel
Save