Fix MBL zigzag calls
This commit is contained in:
parent
86ac48a374
commit
754b0152f5
3 changed files with 3 additions and 3 deletions
|
@ -2955,7 +2955,7 @@ inline void gcode_G28() {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
int ix, iy;
|
int8_t ix, iy;
|
||||||
float z;
|
float z;
|
||||||
|
|
||||||
switch (state) {
|
switch (state) {
|
||||||
|
|
|
@ -48,7 +48,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
void set_zigzag_z(int8_t index, float z) {
|
void set_zigzag_z(int8_t index, float z) {
|
||||||
int ix, iy;
|
int8_t ix, iy;
|
||||||
zigzag(index, ix, iy);
|
zigzag(index, ix, iy);
|
||||||
set_z(ix, iy, z);
|
set_z(ix, iy, z);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1014,7 +1014,7 @@ void lcd_cooldown() {
|
||||||
lcd_goto_menu(_lcd_level_bed_moving);
|
lcd_goto_menu(_lcd_level_bed_moving);
|
||||||
|
|
||||||
// _mbl_goto_xy runs the menu loop until the move is done
|
// _mbl_goto_xy runs the menu loop until the move is done
|
||||||
int ix, iy;
|
int8_t ix, iy;
|
||||||
mbl.zigzag(_lcd_level_bed_position, ix, iy);
|
mbl.zigzag(_lcd_level_bed_position, ix, iy);
|
||||||
_mbl_goto_xy(mbl.get_x(ix), mbl.get_y(iy));
|
_mbl_goto_xy(mbl.get_x(ix), mbl.get_y(iy));
|
||||||
|
|
||||||
|
|
Reference in a new issue