Fix clear of Z position last digit (#13731)
This commit is contained in:
parent
866e2d41dc
commit
bf28ad4b6c
|
@ -517,7 +517,7 @@ FORCE_INLINE void _draw_axis_value(const AxisEnum axis, const char *value, const
|
||||||
else {
|
else {
|
||||||
#if DISABLED(HOME_AFTER_DEACTIVATE, DISABLE_REDUCED_ACCURACY_WARNING)
|
#if DISABLED(HOME_AFTER_DEACTIVATE, DISABLE_REDUCED_ACCURACY_WARNING)
|
||||||
if (!TEST(axis_known_position, axis))
|
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
|
else
|
||||||
#endif
|
#endif
|
||||||
lcd_put_u8str(value);
|
lcd_put_u8str(value);
|
||||||
|
|
|
@ -245,7 +245,7 @@ FORCE_INLINE void _draw_axis_value(const AxisEnum axis, const char *value, const
|
||||||
else {
|
else {
|
||||||
#if DISABLED(HOME_AFTER_DEACTIVATE, DISABLE_REDUCED_ACCURACY_WARNING)
|
#if DISABLED(HOME_AFTER_DEACTIVATE, DISABLE_REDUCED_ACCURACY_WARNING)
|
||||||
if (!TEST(axis_known_position, axis))
|
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
|
else
|
||||||
#endif
|
#endif
|
||||||
lcd_put_u8str(value);
|
lcd_put_u8str(value);
|
||||||
|
|
Loading…
Reference in a new issue