From 1913c37a910916da0e59805f4a7623c32fda74ae Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Thu, 8 Mar 2018 00:48:57 -0600 Subject: [PATCH] Tweak to manual move eindex arg --- Marlin/src/lcd/ultralcd.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Marlin/src/lcd/ultralcd.cpp b/Marlin/src/lcd/ultralcd.cpp index 6afbb14463..40c1339d4c 100644 --- a/Marlin/src/lcd/ultralcd.cpp +++ b/Marlin/src/lcd/ultralcd.cpp @@ -2902,7 +2902,7 @@ void kill_screen(const char* lcd_msg) { */ inline void manual_move_to_current(AxisEnum axis #if E_MANUAL > 1 - , int8_t eindex=-1 + , const int8_t eindex=-1 #endif ) { #if ENABLED(DUAL_X_CARRIAGE) || E_MANUAL > 1 @@ -3002,7 +3002,7 @@ void kill_screen(const char* lcd_msg) { void lcd_move_z() { _lcd_move_xyz(PSTR(MSG_MOVE_Z), Z_AXIS); } void _lcd_move_e( #if E_MANUAL > 1 - int8_t eindex=-1 + const int8_t eindex=-1 #endif ) { if (use_click()) { return lcd_goto_previous_menu(); }