diff --git a/Firmware/xyzcal.cpp b/Firmware/xyzcal.cpp index 98cd04a4d..47eecb942 100644 --- a/Firmware/xyzcal.cpp +++ b/Firmware/xyzcal.cpp @@ -955,7 +955,6 @@ bool xyzcal_scan_and_process(void){ y = round_to_i16(yf); xyzcal_lineXYZ_to(x, y, z, 200, 0); ret = true; - } } /// 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]); st_synchronize(); - const pos_i16_t x = _X; - const pos_i16_t y = _Y; + pos_i16_t x = _X; + pos_i16_t y = _Y; const pos_i16_t z = _Z; ///< magic constant, lowers min_z after searchZ to obtain more dense data in scan const pos_i16_t lower_z = 72;