浏览代码

Merge pull request #3057 from jbrazio/3034-z_raise_after_probing_fix

Fix Z_RAISE_AFTER_PROBING for non DELTA printers
Scott Lahteine 9 年前
父节点
当前提交
186629aee8
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5
    0
      Marlin/Marlin_main.cpp

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

@@ -3198,6 +3198,11 @@ inline void gcode_G28() {
3198 3198
       // Sled assembly for Cartesian bots
3199 3199
       #if ENABLED(Z_PROBE_SLED)
3200 3200
         dock_sled(true); // dock the sled
3201
+      #elif Z_RAISE_AFTER_PROBING > 0
3202
+        // Raise Z axis for non-delta and non servo based probes
3203
+        #if !defined(HAS_SERVO_ENDSTOPS) && DISABLED(Z_PROBE_ALLEN_KEY) && DISABLED(Z_PROBE_SLED)
3204
+          raise_z_after_probing();
3205
+        #endif
3201 3206
       #endif
3202 3207
 
3203 3208
     #endif // !DELTA

正在加载...
取消
保存