Browse Source

Tweak to manual move eindex arg

Scott Lahteine 7 years ago
parent
commit
1913c37a91
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Marlin/src/lcd/ultralcd.cpp

+ 2
- 2
Marlin/src/lcd/ultralcd.cpp View File

@@ -2902,7 +2902,7 @@ void kill_screen(const char* lcd_msg) {
2902 2902
    */
2903 2903
   inline void manual_move_to_current(AxisEnum axis
2904 2904
     #if E_MANUAL > 1
2905
-      , int8_t eindex=-1
2905
+      , const int8_t eindex=-1
2906 2906
     #endif
2907 2907
   ) {
2908 2908
     #if ENABLED(DUAL_X_CARRIAGE) || E_MANUAL > 1
@@ -3002,7 +3002,7 @@ void kill_screen(const char* lcd_msg) {
3002 3002
   void lcd_move_z() { _lcd_move_xyz(PSTR(MSG_MOVE_Z), Z_AXIS); }
3003 3003
   void _lcd_move_e(
3004 3004
     #if E_MANUAL > 1
3005
-      int8_t eindex=-1
3005
+      const int8_t eindex=-1
3006 3006
     #endif
3007 3007
   ) {
3008 3008
     if (use_click()) { return lcd_goto_previous_menu(); }

Loading…
Cancel
Save