🐛 Fix 3-point leveling position

See #22457. Fixes a G29 regression from #19112.
This commit is contained in:
Scott Lahteine 2021-07-29 19:34:49 -05:00
parent c7c56ac45f
commit 12581bcc44

View File

@ -568,7 +568,7 @@ G29_TYPE GcodeSuite::G29() {
// Probe at 3 arbitrary points // Probe at 3 arbitrary points
if (abl.abl_probe_index < abl.abl_points) { if (abl.abl_probe_index < abl.abl_points) {
abl.probePos = points[abl.abl_probe_index]; abl.probePos = xy_pos_t(points[abl.abl_probe_index]);
_manual_goto_xy(abl.probePos); _manual_goto_xy(abl.probePos);
// Disable software endstops to allow manual adjustment // Disable software endstops to allow manual adjustment
// If G29 is not completed, they will not be re-enabled // If G29 is not completed, they will not be re-enabled