瀏覽代碼

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.
AnHardt 10 年之前
父節點
當前提交
d8860f9ad9
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      Marlin/Marlin_main.cpp

+ 1
- 1
Marlin/Marlin_main.cpp 查看文件

@@ -2565,7 +2565,7 @@ inline void gcode_G28() {
2565 2565
       #endif // !DELTA
2566 2566
 
2567 2567
       int probePointCounter = 0;
2568
-      bool zig = true;
2568
+      bool zig = (auto_bed_leveling_grid_points & 1) ? true : false; //always end at [RIGHT_PROBE_BED_POSITION, BACK_PROBE_BED_POSITION]
2569 2569
 
2570 2570
       for (int yCount = 0; yCount < auto_bed_leveling_grid_points; yCount++) {
2571 2571
         double yProbe = front_probe_bed_position + yGridSpacing * yCount;

Loading…
取消
儲存