Quellcode durchsuchen

Fix G28 with Z_AFTER_PROBING

Fix #10476
Scott Lahteine vor 7 Jahren
Ursprung
Commit
1c3d49afe0
1 geänderte Dateien mit 5 neuen und 3 gelöschten Zeilen
  1. 5
    3
      Marlin/src/gcode/calibrate/G28.cpp

+ 5
- 3
Marlin/src/gcode/calibrate/G28.cpp Datei anzeigen

311
         #else
311
         #else
312
           HOMEAXIS(Z);
312
           HOMEAXIS(Z);
313
         #endif
313
         #endif
314
+
315
+        #if HOMING_Z_WITH_PROBE && Z_AFTER_PROBING
316
+          move_z_after_probing();
317
+        #endif
318
+
314
       } // home_all || homeZ
319
       } // home_all || homeZ
315
-      #if HOMING_Z_WITH_PROBE && Z_AFTER_PROBING
316
-        move_z_after_probing();
317
-      #endif
318
     #endif // Z_HOME_DIR < 0
320
     #endif // Z_HOME_DIR < 0
319
 
321
 
320
     SYNC_PLAN_POSITION_KINEMATIC();
322
     SYNC_PLAN_POSITION_KINEMATIC();

Laden…
Abbrechen
Speichern