From ae9afb333ef8ee05791ad47838a5e4df04e3d7c7 Mon Sep 17 00:00:00 2001
From: Martin <github@mrvanes.com>
Date: Fri, 28 Jun 2019 20:33:47 +0200
Subject: [PATCH] Remove fwretract planner.synchronize calls (#14432)

---
 Marlin/src/feature/fwretract.cpp | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/Marlin/src/feature/fwretract.cpp b/Marlin/src/feature/fwretract.cpp
index a8a2988ae3..dc9785c1d5 100644
--- a/Marlin/src/feature/fwretract.cpp
+++ b/Marlin/src/feature/fwretract.cpp
@@ -156,14 +156,12 @@ void FWRetract::retract(const bool retracting
     );
     current_retract[active_extruder] = base_retract * unscale_e;
     prepare_move_to_destination();                        // set_current_to_destination
-    planner.synchronize();                                // Wait for move to complete
 
     // Is a Z hop set, and has the hop not yet been done?
     if (settings.retract_zraise > 0.01 && !current_hop) {           // Apply hop only once
       current_hop += settings.retract_zraise;                       // Add to the hop total (again, only once)
       feedrate_mm_s = planner.settings.max_feedrate_mm_s[Z_AXIS] * unscale_fr;  // Maximum Z feedrate
       prepare_move_to_destination();                      // Raise up, set_current_to_destination
-      planner.synchronize();                              // Wait for move to complete
     }
   }
   else {
@@ -172,7 +170,6 @@ void FWRetract::retract(const bool retracting
       current_hop = 0.0;
       feedrate_mm_s = planner.settings.max_feedrate_mm_s[Z_AXIS] * unscale_fr;  // Z feedrate to max
       prepare_move_to_destination();                      // Lower Z, set_current_to_destination
-      planner.synchronize();                              // Wait for move to complete
     }
 
     const float extra_recover = swapping ? settings.swap_retract_recover_extra : settings.retract_recover_extra;
@@ -189,7 +186,6 @@ void FWRetract::retract(const bool retracting
       #endif
     );
     prepare_move_to_destination();                        // Recover E, set_current_to_destination
-    planner.synchronize();                                // Wait for move to complete
   }
 
   #if ENABLED(RETRACT_SYNC_MIXING)
-- 
GitLab