Use AxisEnum instead of int for _lcd_move

2.0.x
Scott Lahteine 10 years ago
parent c3560e0288
commit 31932912dd

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

Loading…
Cancel
Save