Browse Source

Use AxisEnum with _lcd_babystep()

Scott Lahteine 8 years ago
parent
commit
51109d4af7
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/ultralcd.cpp

+ 1
- 1
Marlin/ultralcd.cpp View File

552
 
552
 
553
   int babysteps_done = 0;
553
   int babysteps_done = 0;
554
 
554
 
555
-  static void _lcd_babystep(const int axis, const char* msg) {
555
+  static void _lcd_babystep(const AxisEnum axis, const char* msg) {
556
     ENCODER_DIRECTION_NORMAL();
556
     ENCODER_DIRECTION_NORMAL();
557
     if (encoderPosition) {
557
     if (encoderPosition) {
558
       int distance = (int32_t)encoderPosition * BABYSTEP_MULTIPLICATOR;
558
       int distance = (int32_t)encoderPosition * BABYSTEP_MULTIPLICATOR;

Loading…
Cancel
Save