Pārlūkot izejas kodu

Merge pull request #3057 from jbrazio/3034-z_raise_after_probing_fix

Fix Z_RAISE_AFTER_PROBING for non DELTA printers
Scott Lahteine 9 gadus atpakaļ
vecāks
revīzija
186629aee8
1 mainītis faili ar 5 papildinājumiem un 0 dzēšanām
  1. 5
    0
      Marlin/Marlin_main.cpp

+ 5
- 0
Marlin/Marlin_main.cpp Parādīt failu

@@ -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

Notiek ielāde…
Atcelt
Saglabāt