Don't stow the probe until the last grid point!

- Address Issue #1682 at hash #issuecomment-89756858
This commit is contained in:
Scott Lahteine 2015-04-06 20:58:09 -07:00
parent 5c2bb05af3
commit d20f42c883

View File

@ -2322,7 +2322,7 @@ inline void gcode_G28() {
act = ProbeDeployAndStow;
else if (yCount == 0 && xCount == 0)
act = ProbeDeploy;
else if (yCount == auto_bed_leveling_grid_points - 1 && xCount == auto_bed_leveling_grid_points - 1)
else if (yCount == auto_bed_leveling_grid_points - 1 && xCount == xStop - xInc)
act = ProbeStow;
else
act = ProbeStay;