Sfoglia il codice sorgente

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

- Address Issue #1682 at hash #issuecomment-89756858
Scott Lahteine 10 anni fa
parent
commit
d20f42c883
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      Marlin/Marlin_main.cpp

+ 1
- 1
Marlin/Marlin_main.cpp Vedi File

@@ -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…
Annulla
Salva