force_move: Fix missing call to note_kinematic_activity()

Commit 3d3b87f9 incorrectly removed the call to
note_kinematic_activity().  A call to toolhead.dwell() is not
sufficient to wake up the mcu move queue flushing.  The call to
note_kinematic_activity() is needed for that.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2024-01-18 11:24:07 -05:00
parent 43d0dba4b4
commit d633ef2cfc
1 changed files with 1 additions and 0 deletions

View File

@ -90,6 +90,7 @@ class ForceMove:
print_time + 99999.9) print_time + 99999.9)
stepper.set_trapq(prev_trapq) stepper.set_trapq(prev_trapq)
stepper.set_stepper_kinematics(prev_sk) stepper.set_stepper_kinematics(prev_sk)
toolhead.note_kinematic_activity(print_time)
toolhead.dwell(accel_t + cruise_t + accel_t) toolhead.dwell(accel_t + cruise_t + accel_t)
toolhead.flush_step_generation() toolhead.flush_step_generation()
def _lookup_stepper(self, gcmd): def _lookup_stepper(self, gcmd):