From 51827c578f5745b5990f5ff4bdbf080bb0faf1ef Mon Sep 17 00:00:00 2001 From: Laurentiu Date: Fri, 22 Feb 2019 15:05:06 +0200 Subject: [PATCH] MESH_MEAS_NUM_X_POINTS constant correction to MESH_MEAS_NUM_Y_POINTS --- Firmware/mesh_bed_calibration.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Firmware/mesh_bed_calibration.cpp b/Firmware/mesh_bed_calibration.cpp index ec814f05..0f56d999 100644 --- a/Firmware/mesh_bed_calibration.cpp +++ b/Firmware/mesh_bed_calibration.cpp @@ -2405,7 +2405,7 @@ BedSkewOffsetDetectionResultType find_bed_offset_and_skew(int8_t verbosity_level uint8_t iy = mesh_point / MESH_MEAS_NUM_X_POINTS; if (iy & 1) ix = (MESH_MEAS_NUM_X_POINTS - 1) - ix; current_position[X_AXIS] = BED_X(ix, MESH_MEAS_NUM_X_POINTS); - current_position[Y_AXIS] = BED_Y(iy, MESH_MEAS_NUM_X_POINTS); + current_position[Y_AXIS] = BED_Y(iy, MESH_MEAS_NUM_Y_POINTS); go_to_current(homing_feedrate[X_AXIS] / 60); delay_keep_alive(3000); }