Browse Source

Use AxisEnum instead of int for _lcd_move

Scott Lahteine 9 years ago
parent
commit
31932912dd
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/ultralcd.cpp

+ 1
- 1
Marlin/ultralcd.cpp View File

@@ -660,7 +660,7 @@ inline void line_to_current(AxisEnum axis) {
660 660
 float move_menu_scale;
661 661
 static void lcd_move_menu_axis();
662 662
 
663
-static void _lcd_move(const char *name, int axis, int min, int max) {
663
+static void _lcd_move(const char *name, AxisEnum axis, int min, int max) {
664 664
   if (encoderPosition != 0) {
665 665
     refresh_cmd_timeout();
666 666
     current_position[axis] += float((int)encoderPosition) * move_menu_scale;

Loading…
Cancel
Save