MESH_MEAS_NUM_X_POINTS constant correction to MESH_MEAS_NUM_Y_POINTS
This commit is contained in:
parent
62875f2e95
commit
51827c578f
@ -2405,7 +2405,7 @@ BedSkewOffsetDetectionResultType find_bed_offset_and_skew(int8_t verbosity_level
|
|||||||
uint8_t iy = mesh_point / MESH_MEAS_NUM_X_POINTS;
|
uint8_t iy = mesh_point / MESH_MEAS_NUM_X_POINTS;
|
||||||
if (iy & 1) ix = (MESH_MEAS_NUM_X_POINTS - 1) - ix;
|
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[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);
|
go_to_current(homing_feedrate[X_AXIS] / 60);
|
||||||
delay_keep_alive(3000);
|
delay_keep_alive(3000);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user