|
@@ -1095,7 +1095,7 @@ static void set_bed_level_equation_lsq(double *plane_equation_coefficients)
|
1095
|
1095
|
// corrected_position.debug("position after");
|
1096
|
1096
|
current_position[X_AXIS] = corrected_position.x;
|
1097
|
1097
|
current_position[Y_AXIS] = corrected_position.y;
|
1098
|
|
- current_position[Z_AXIS] = corrected_position.z + zprobe_zoffset;
|
|
1098
|
+ current_position[Z_AXIS] = corrected_position.z;
|
1099
|
1099
|
|
1100
|
1100
|
plan_set_position(current_position[X_AXIS], current_position[Y_AXIS], current_position[Z_AXIS], current_position[E_AXIS]);
|
1101
|
1101
|
}
|
|
@@ -1123,7 +1123,7 @@ static void set_bed_level_equation_3pts(float z_at_pt_1, float z_at_pt_2, float
|
1123
|
1123
|
vector_3 corrected_position = plan_get_position();
|
1124
|
1124
|
current_position[X_AXIS] = corrected_position.x;
|
1125
|
1125
|
current_position[Y_AXIS] = corrected_position.y;
|
1126
|
|
- current_position[Z_AXIS] = corrected_position.z + zprobe_zoffset;
|
|
1126
|
+ current_position[Z_AXIS] = corrected_position.z;
|
1127
|
1127
|
|
1128
|
1128
|
plan_set_position(current_position[X_AXIS], current_position[Y_AXIS], current_position[Z_AXIS], current_position[E_AXIS]);
|
1129
|
1129
|
}
|