From 21d6f970ef7e139840dc5535fb09f03c3ff99ed6 Mon Sep 17 00:00:00 2001 From: espr14 Date: Tue, 12 Jan 2021 16:26:46 +0100 Subject: [PATCH] Fix build --- Firmware/xyzcal.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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;