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

Loading…
Cancel
Save