Browse Source

Fix clear of Z position last digit (#13731)

pull/1/head
Antonio Pérez 6 years ago
committed by Scott Lahteine
parent
commit
bf28ad4b6c
  1. 2
      Marlin/src/lcd/HD44780/ultralcd_HD44780.cpp
  2. 2
      Marlin/src/lcd/dogm/status_screen_DOGM.cpp

2
Marlin/src/lcd/HD44780/ultralcd_HD44780.cpp

@ -517,7 +517,7 @@ FORCE_INLINE void _draw_axis_value(const AxisEnum axis, const char *value, const
else {
#if DISABLED(HOME_AFTER_DEACTIVATE, DISABLE_REDUCED_ACCURACY_WARNING)
if (!TEST(axis_known_position, axis))
lcd_put_u8str_P(axis == Z_AXIS ? PSTR(" ") : PSTR(" "));
lcd_put_u8str_P(axis == Z_AXIS ? PSTR(" ") : PSTR(" "));
else
#endif
lcd_put_u8str(value);

2
Marlin/src/lcd/dogm/status_screen_DOGM.cpp

@ -245,7 +245,7 @@ FORCE_INLINE void _draw_axis_value(const AxisEnum axis, const char *value, const
else {
#if DISABLED(HOME_AFTER_DEACTIVATE, DISABLE_REDUCED_ACCURACY_WARNING)
if (!TEST(axis_known_position, axis))
lcd_put_u8str_P(axis == Z_AXIS ? PSTR(" ") : PSTR(" "));
lcd_put_u8str_P(axis == Z_AXIS ? PSTR(" ") : PSTR(" "));
else
#endif
lcd_put_u8str(value);

Loading…
Cancel
Save