Use AxisEnum instead of int for _lcd_move

This commit is contained in:
Scott Lahteine 2015-04-23 19:32:37 -07:00
parent c3560e0288
commit 31932912dd

View file

@ -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;