Move Stepper::synchronize to Planner (#10713)
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
This commit is contained in:
@@ -122,7 +122,7 @@ static void do_pause_e_move(const float &length, const float &fr) {
|
||||
destination[E_AXIS] += length / planner.e_factor[active_extruder];
|
||||
planner.buffer_line_kinematic(destination, fr, active_extruder);
|
||||
set_current_from_destination();
|
||||
stepper.synchronize();
|
||||
planner.synchronize();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -370,7 +370,7 @@ bool pause_print(const float &retract, const point_t &park_point, const float &u
|
||||
COPY(resume_position, current_position);
|
||||
|
||||
// Wait for buffered blocks to complete
|
||||
stepper.synchronize();
|
||||
planner.synchronize();
|
||||
|
||||
// Initial retract before move to filament change position
|
||||
if (retract && thermalManager.hotEnoughToExtrude(active_extruder))
|
||||
|
Reference in New Issue
Block a user