From d8860f9ad9b590a3de9905bdcfcda252873ed706 Mon Sep 17 00:00:00 2001 From: AnHardt Date: Thu, 6 Aug 2015 13:54:23 +0200 Subject: [PATCH] Alway end at the same point Always end at [RIGHT_PROBE_BED_POSITION, BACK_PROBE_BED_POSITION] Regardles the evennes of auto_bed_leveling_grid_points. --- Marlin/Marlin_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/Marlin_main.cpp b/Marlin/Marlin_main.cpp index 2d6a2b0263..0f38cd8520 100644 --- a/Marlin/Marlin_main.cpp +++ b/Marlin/Marlin_main.cpp @@ -2565,7 +2565,7 @@ inline void gcode_G28() { #endif // !DELTA int probePointCounter = 0; - bool zig = true; + bool zig = (auto_bed_leveling_grid_points & 1) ? true : false; //always end at [RIGHT_PROBE_BED_POSITION, BACK_PROBE_BED_POSITION] for (int yCount = 0; yCount < auto_bed_leveling_grid_points; yCount++) { double yProbe = front_probe_bed_position + yGridSpacing * yCount;