Pārlūkot izejas kodu

Remove fwretract planner.synchronize calls (#14432)

Martin 6 gadus atpakaļ
vecāks
revīzija
ae9afb333e
1 mainītis faili ar 0 papildinājumiem un 4 dzēšanām
  1. 0
    4
      Marlin/src/feature/fwretract.cpp

+ 0
- 4
Marlin/src/feature/fwretract.cpp Parādīt failu

@@ -156,14 +156,12 @@ void FWRetract::retract(const bool retracting
156 156
     );
157 157
     current_retract[active_extruder] = base_retract * unscale_e;
158 158
     prepare_move_to_destination();                        // set_current_to_destination
159
-    planner.synchronize();                                // Wait for move to complete
160 159
 
161 160
     // Is a Z hop set, and has the hop not yet been done?
162 161
     if (settings.retract_zraise > 0.01 && !current_hop) {           // Apply hop only once
163 162
       current_hop += settings.retract_zraise;                       // Add to the hop total (again, only once)
164 163
       feedrate_mm_s = planner.settings.max_feedrate_mm_s[Z_AXIS] * unscale_fr;  // Maximum Z feedrate
165 164
       prepare_move_to_destination();                      // Raise up, set_current_to_destination
166
-      planner.synchronize();                              // Wait for move to complete
167 165
     }
168 166
   }
169 167
   else {
@@ -172,7 +170,6 @@ void FWRetract::retract(const bool retracting
172 170
       current_hop = 0.0;
173 171
       feedrate_mm_s = planner.settings.max_feedrate_mm_s[Z_AXIS] * unscale_fr;  // Z feedrate to max
174 172
       prepare_move_to_destination();                      // Lower Z, set_current_to_destination
175
-      planner.synchronize();                              // Wait for move to complete
176 173
     }
177 174
 
178 175
     const float extra_recover = swapping ? settings.swap_retract_recover_extra : settings.retract_recover_extra;
@@ -189,7 +186,6 @@ void FWRetract::retract(const bool retracting
189 186
       #endif
190 187
     );
191 188
     prepare_move_to_destination();                        // Recover E, set_current_to_destination
192
-    planner.synchronize();                                // Wait for move to complete
193 189
   }
194 190
 
195 191
   #if ENABLED(RETRACT_SYNC_MIXING)

Notiek ielāde…
Atcelt
Saglabāt