Use right calibration point. This change is only formal, as both original and new point have same coordinates.

This commit is contained in:
Marek Bel 2018-04-23 20:27:35 +02:00
parent cccd8246ab
commit 9bd4d580d7
2 changed files with 2 additions and 1 deletions

View file

@ -3099,7 +3099,7 @@ void process_commands()
}
// 1st mesh bed leveling measurement point, corrected.
world2machine_initialize();
world2machine(pgm_read_float(bed_ref_points), pgm_read_float(bed_ref_points+1), destination[X_AXIS], destination[Y_AXIS]);
world2machine(pgm_read_float(bed_ref_points_4), pgm_read_float(bed_ref_points_4+1), destination[X_AXIS], destination[Y_AXIS]);
world2machine_reset();
if (destination[Y_AXIS] < Y_MIN_POS)
destination[Y_AXIS] = Y_MIN_POS;

View file

@ -5,6 +5,7 @@
// The world coordinates match the machine coordinates only in case, when the machine
// is built properly, the end stops are at the correct positions and the axes are perpendicular.
extern const float bed_ref_points[] PROGMEM;
extern const float bed_ref_points_4[] PROGMEM;
extern const float bed_skew_angle_mild;
extern const float bed_skew_angle_extreme;