Always zigzag

Use the shortest way between probing-points.
This commit is contained in:
AnHardt 2015-08-06 13:50:41 +02:00 committed by Richard Wackerbarth
parent 3d23424121
commit 4ca8f4a9a7

View file

@ -2582,13 +2582,7 @@ inline void gcode_G28() {
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;
#endif
for (int xCount = xStart; xCount != xStop; xCount += xInc) {
double xProbe = left_probe_bed_position + xGridSpacing * xCount;