Skip to content
Snippets Groups Projects
Unverified Commit 7d4fa9d5 authored by ellensp's avatar ellensp Committed by GitHub
Browse files

Fix LCD Z Move character LCD display line (#16772)

parent ff78f797
Branches
Tags
No related merge requests found
......@@ -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) {
extern const char NUL_STR[];
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];
// Determine digits needed right of decimal
const uint8_t digs = !UNEAR_ZERO((SHORT_MANUAL_Z_MOVE) * 1000 - int((SHORT_MANUAL_Z_MOVE) * 1000)) ? 4 :
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment