Enable ZigZag AutoBedLeveling on Deltas (PR#2273)

ZigZag has been disabled by fault due to do_topography_map
This commit is contained in:
schlotzz 2015-06-10 07:27:49 +02:00 committed by Richard Wackerbarth
parent ec93383ec8
commit 1e9cf905c7

View File

@ -2684,6 +2684,8 @@ inline void gcode_G28() {
// If do_topography_map is set then don't zig-zag. Just scan in one direction. // 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. // This gets the probe points in more readable order.
if (!do_topography_map) zig = !zig; if (!do_topography_map) zig = !zig;
#else
zig = !zig;
#endif #endif
for (int xCount = xStart; xCount != xStop; xCount += xInc) { for (int xCount = xStart; xCount != xStop; xCount += xInc) {