Pārlūkot izejas kodu

Fix G28 with Z_AFTER_PROBING

Fix #10476
Scott Lahteine 6 gadus atpakaļ
vecāks
revīzija
1c3d49afe0
1 mainītis faili ar 5 papildinājumiem un 3 dzēšanām
  1. 5
    3
      Marlin/src/gcode/calibrate/G28.cpp

+ 5
- 3
Marlin/src/gcode/calibrate/G28.cpp Parādīt failu

@@ -311,10 +311,12 @@ void GcodeSuite::G28(const bool always_home_all) {
311 311
         #else
312 312
           HOMEAXIS(Z);
313 313
         #endif
314
+
315
+        #if HOMING_Z_WITH_PROBE && Z_AFTER_PROBING
316
+          move_z_after_probing();
317
+        #endif
318
+
314 319
       } // home_all || homeZ
315
-      #if HOMING_Z_WITH_PROBE && Z_AFTER_PROBING
316
-        move_z_after_probing();
317
-      #endif
318 320
     #endif // Z_HOME_DIR < 0
319 321
 
320 322
     SYNC_PLAN_POSITION_KINEMATIC();

Notiek ielāde…
Atcelt
Saglabāt