Преглед изворни кода

Corrected the ABL grid option

G29 E was not retracting the probe on the last probe point when used with ABL grid. Corrected.
msutas пре 10 година
родитељ
комит
3a5a6f42fb
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1
    1
      Marlin/Marlin_main.cpp

+ 1
- 1
Marlin/Marlin_main.cpp Прегледај датотеку

@@ -1759,7 +1759,7 @@ void process_commands()
1759 1759
                    if ((yProbe==FRONT_PROBE_BED_POSITION) && (xCount==0))
1760 1760
                        {
1761 1761
                         measured_z = probe_pt(xProbe, yProbe, z_before,1);
1762
-                       } else if ((yProbe==BACK_PROBE_BED_POSITION) && (xCount == AUTO_BED_LEVELING_GRID_POINTS-1))
1762
+                       } else if ((yProbe==FRONT_PROBE_BED_POSITION + (yGridSpacing * (AUTO_BED_LEVELING_GRID_POINTS-1))) && (xCount == AUTO_BED_LEVELING_GRID_POINTS-1))
1763 1763
                          {
1764 1764
                          measured_z = probe_pt(xProbe, yProbe, z_before,3);
1765 1765
                          } else {

Loading…
Откажи
Сачувај