Преглед на файлове

Remove fwretract planner.synchronize calls (#14432)

Martin преди 6 години
родител
ревизия
ae9afb333e
променени са 1 файла, в които са добавени 0 реда и са изтрити 4 реда
  1. 0
    4
      Marlin/src/feature/fwretract.cpp

+ 0
- 4
Marlin/src/feature/fwretract.cpp Целия файл

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

Loading…
Отказ
Запис