mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-27 22:08:02 +00:00
Always zigzag
Use the shortest way between probing-points.
This commit is contained in:
parent
3d23424121
commit
4ca8f4a9a7
@ -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
|
||||
zig = !zig;
|
||||
|
||||
for (int xCount = xStart; xCount != xStop; xCount += xInc) {
|
||||
double xProbe = left_probe_bed_position + xGridSpacing * xCount;
|
||||
|
Loading…
Reference in New Issue
Block a user