From d20f42c883d259a3f4589a38b24517d2257dd5d3 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Mon, 6 Apr 2015 20:58:09 -0700 Subject: [PATCH] Don't stow the probe until the last grid point! - Address Issue #1682 at hash #issuecomment-89756858 --- Marlin/Marlin_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/Marlin_main.cpp b/Marlin/Marlin_main.cpp index 440375661..69aee6c60 100644 --- a/Marlin/Marlin_main.cpp +++ b/Marlin/Marlin_main.cpp @@ -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;