Move Stepper::synchronize to Planner (#10713)
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
This commit is contained in:
1 parent
f2e3c9896e
commit
306f0f2135
33 files changed
+72
-73
No files matched your search
@@ -274,7 +274,7 @@ bool pin_is_protected(const pin_t pin) {
|
||||
|
||||
void quickstop_stepper() {
|
||||
stepper.quick_stop();
|
||||
stepper.synchronize();
|
||||
planner.synchronize();
|
||||
set_current_from_steppers_for_axis(ALL_AXES);
|
||||
SYNC_PLAN_POSITION_KINEMATIC();
|
||||
}
|
||||
@@ -461,7 +461,7 @@ void manage_inactivity(const bool ignore_stepper_queue/*=false*/) {
|
||||
planner.buffer_line_kinematic(current_position, MMM_TO_MMS(EXTRUDER_RUNOUT_SPEED), active_extruder);
|
||||
current_position[E_AXIS] = olde;
|
||||
planner.set_e_position_mm(olde);
|
||||
stepper.synchronize();
|
||||
planner.synchronize();
|
||||
#if ENABLED(SWITCHING_EXTRUDER)
|
||||
E0_ENABLE_WRITE(oldstatus);
|
||||
#else
|
||||
|
||||
Reference in new issue
Block a user