Browse Source

Fix G10-G11 by adding a synchronize

Based on #7792 by @tcm0116
Scott Lahteine 6 years ago
parent
commit
80a0f935a1
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      Marlin/Marlin_main.cpp

+ 2
- 0
Marlin/Marlin_main.cpp View File

@@ -3193,6 +3193,8 @@ static void homeaxis(const AxisEnum axis) {
3193 3193
     // The current position will be the destination for E and Z moves
3194 3194
     set_destination_to_current();
3195 3195
 
3196
+    stepper.synchronize(); // Wait for all moves to finish
3197
+
3196 3198
     if (retracting) {
3197 3199
       // Remember the Z height since G-code may include its own Z-hop
3198 3200
       // For best results turn off Z hop if G-code already includes it

Loading…
Cancel
Save