Browse Source

Merge pull request #3767 from thinkyhead/rc_fix_zigzag_calls

Fix MBL zigzag calls
Scott Lahteine 8 years ago
parent
commit
388a58ec02
3 changed files with 3 additions and 3 deletions
  1. 1
    1
      Marlin/Marlin_main.cpp
  2. 1
    1
      Marlin/mesh_bed_leveling.h
  3. 1
    1
      Marlin/ultralcd.cpp

+ 1
- 1
Marlin/Marlin_main.cpp View File

@@ -2955,7 +2955,7 @@ inline void gcode_G28() {
2955 2955
       return;
2956 2956
     }
2957 2957
 
2958
-    int ix, iy;
2958
+    int8_t ix, iy;
2959 2959
     float z;
2960 2960
 
2961 2961
     switch (state) {

+ 1
- 1
Marlin/mesh_bed_leveling.h View File

@@ -48,7 +48,7 @@
48 48
     }
49 49
 
50 50
     void set_zigzag_z(int8_t index, float z) {
51
-      int ix, iy;
51
+      int8_t ix, iy;
52 52
       zigzag(index, ix, iy);
53 53
       set_z(ix, iy, z);
54 54
     }

+ 1
- 1
Marlin/ultralcd.cpp View File

@@ -1014,7 +1014,7 @@ void lcd_cooldown() {
1014 1014
     lcd_goto_menu(_lcd_level_bed_moving);
1015 1015
 
1016 1016
     // _mbl_goto_xy runs the menu loop until the move is done
1017
-    int ix, iy;
1017
+    int8_t ix, iy;
1018 1018
     mbl.zigzag(_lcd_level_bed_position, ix, iy);
1019 1019
     _mbl_goto_xy(mbl.get_x(ix), mbl.get_y(iy));
1020 1020
 

Loading…
Cancel
Save