Followup to probe_at_point change (#15342)

This commit is contained in:
Robby Candra
2019-09-25 14:29:10 +07:00
committed by Scott Lahteine
parent 149e9b733e
commit 9c288a682d
3 changed files with 6 additions and 6 deletions

View File

@ -177,8 +177,8 @@
serialprintPGM(csv ? PSTR("CSV:\n") : PSTR("LCD:\n"));
}
// Add XY probe offset from extruder because probe_pt() subtracts them when
// moving to the xy position to be measured. This ensures better agreement between
// Add XY probe offset from extruder because probe_at_point() subtracts them when
// moving to the XY position to be measured. This ensures better agreement between
// the current Z position after G28 and the mesh values.
const float current_xi = find_closest_x_index(current_position[X_AXIS] + probe_offset[X_AXIS]),
current_yi = find_closest_y_index(current_position[Y_AXIS] + probe_offset[Y_AXIS]);