Always zigzag

Use the shortest way between probing-points.
2.0.x
AnHardt 10 years ago committed by Richard Wackerbarth
parent 3d23424121
commit 4ca8f4a9a7

@ -2582,13 +2582,7 @@ inline void gcode_G28() {
xInc = -1; xInc = -1;
} }
#if DISABLED(DELTA)
// If do_topography_map is set then don't zig-zag. Just scan in one direction.
// This gets the probe points in more readable order.
if (!do_topography_map) zig = !zig;
#else
zig = !zig; zig = !zig;
#endif
for (int xCount = xStart; xCount != xStop; xCount += xInc) { for (int xCount = xStart; xCount != xStop; xCount += xInc) {
double xProbe = left_probe_bed_position + xGridSpacing * xCount; double xProbe = left_probe_bed_position + xGridSpacing * xCount;

Loading…
Cancel
Save