Parcourir la source

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

- Address Issue #1682 at hash #issuecomment-89756858
Scott Lahteine il y a 10 ans
Parent
révision
d20f42c883
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      Marlin/Marlin_main.cpp

+ 1
- 1
Marlin/Marlin_main.cpp Voir le fichier

@@ -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;

Chargement…
Annuler
Enregistrer