mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-30 15:26:18 +00:00
Fix LCD Z Move character LCD display line (#16772)
This commit is contained in:
parent
ff78f79762
commit
7d4fa9d504
@ -250,7 +250,11 @@ void _menu_move_distance(const AxisEnum axis, const screenFunc_t func, const int
|
|||||||
if (axis == Z_AXIS && (SHORT_MANUAL_Z_MOVE) > 0.0f && (SHORT_MANUAL_Z_MOVE) < 0.1f) {
|
if (axis == Z_AXIS && (SHORT_MANUAL_Z_MOVE) > 0.0f && (SHORT_MANUAL_Z_MOVE) < 0.1f) {
|
||||||
extern const char NUL_STR[];
|
extern const char NUL_STR[];
|
||||||
SUBMENU_P(NUL_STR, []{ _goto_manual_move(float(SHORT_MANUAL_Z_MOVE)); });
|
SUBMENU_P(NUL_STR, []{ _goto_manual_move(float(SHORT_MANUAL_Z_MOVE)); });
|
||||||
MENU_ITEM_ADDON_START(0);
|
MENU_ITEM_ADDON_START(0
|
||||||
|
#if HAS_CHARACTER_LCD
|
||||||
|
+ 1
|
||||||
|
#endif
|
||||||
|
);
|
||||||
char tmp[20], numstr[10];
|
char tmp[20], numstr[10];
|
||||||
// Determine digits needed right of decimal
|
// Determine digits needed right of decimal
|
||||||
const uint8_t digs = !UNEAR_ZERO((SHORT_MANUAL_Z_MOVE) * 1000 - int((SHORT_MANUAL_Z_MOVE) * 1000)) ? 4 :
|
const uint8_t digs = !UNEAR_ZERO((SHORT_MANUAL_Z_MOVE) * 1000 - int((SHORT_MANUAL_Z_MOVE) * 1000)) ? 4 :
|
||||||
|
Loading…
Reference in New Issue
Block a user