瀏覽代碼

z_offset change

Avoids to have to recalibrate the delta_height after a z_offset change
LVD-AC 8 年之前
父節點
當前提交
a9bc1d30cc
共有 1 個檔案被更改,包括 4 行新增0 行删除
  1. 4
    0
      Marlin/Marlin_main.cpp

+ 4
- 0
Marlin/Marlin_main.cpp 查看文件

@@ -8488,6 +8488,10 @@ inline void gcode_M503() {
8488 8488
       #else
8489 8489
         UNUSED(no_babystep);
8490 8490
       #endif
8491
+ 
8492
+      #if ENABLED(DELTA) // correct the delta_height
8493
+        home_offset[Z_AXIS] -= diff;
8494
+      #endif
8491 8495
     }
8492 8496
 
8493 8497
     last_zoffset = zprobe_zoffset;

Loading…
取消
儲存