瀏覽代碼

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

- Address Issue #1682 at hash #issuecomment-89756858
Scott Lahteine 10 年之前
父節點
當前提交
d20f42c883
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      Marlin/Marlin_main.cpp

+ 1
- 1
Marlin/Marlin_main.cpp 查看文件

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

Loading…
取消
儲存