Fix build
This commit is contained in:
parent
f3faf651c5
commit
21d6f970ef
|
|
@ -955,7 +955,6 @@ bool xyzcal_scan_and_process(void){
|
||||||
y = round_to_i16(yf);
|
y = round_to_i16(yf);
|
||||||
xyzcal_lineXYZ_to(x, y, z, 200, 0);
|
xyzcal_lineXYZ_to(x, y, z, 200, 0);
|
||||||
ret = true;
|
ret = true;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// wipe buffer
|
/// wipe buffer
|
||||||
|
|
@ -969,8 +968,8 @@ bool xyzcal_find_bed_induction_sensor_point_xy(void){
|
||||||
|
|
||||||
DBG(_n("xyzcal_find_bed_induction_sensor_point_xy x=%ld y=%ld z=%ld\n"), count_position[X_AXIS], count_position[Y_AXIS], count_position[Z_AXIS]);
|
DBG(_n("xyzcal_find_bed_induction_sensor_point_xy x=%ld y=%ld z=%ld\n"), count_position[X_AXIS], count_position[Y_AXIS], count_position[Z_AXIS]);
|
||||||
st_synchronize();
|
st_synchronize();
|
||||||
const pos_i16_t x = _X;
|
pos_i16_t x = _X;
|
||||||
const pos_i16_t y = _Y;
|
pos_i16_t y = _Y;
|
||||||
const pos_i16_t z = _Z;
|
const pos_i16_t z = _Z;
|
||||||
///< magic constant, lowers min_z after searchZ to obtain more dense data in scan
|
///< magic constant, lowers min_z after searchZ to obtain more dense data in scan
|
||||||
const pos_i16_t lower_z = 72;
|
const pos_i16_t lower_z = 72;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue