From e2f483aea3a9eb885a410b264916ffb711daccfa Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Mon, 19 Jul 2021 11:12:58 -0400 Subject: trapq: Rename trapq_free_moves() to trapq_finalize_moves() Signed-off-by: Kevin O'Connor --- klippy/extras/force_move.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'klippy/extras/force_move.py') diff --git a/klippy/extras/force_move.py b/klippy/extras/force_move.py index d4c3932a..ec13f6ed 100644 --- a/klippy/extras/force_move.py +++ b/klippy/extras/force_move.py @@ -36,7 +36,7 @@ class ForceMove: ffi_main, ffi_lib = chelper.get_ffi() self.trapq = ffi_main.gc(ffi_lib.trapq_alloc(), ffi_lib.trapq_free) self.trapq_append = ffi_lib.trapq_append - self.trapq_free_moves = ffi_lib.trapq_free_moves + self.trapq_finalize_moves = ffi_lib.trapq_finalize_moves self.stepper_kinematics = ffi_main.gc( ffi_lib.cartesian_stepper_alloc('x'), ffi_lib.free) # Register commands @@ -87,7 +87,7 @@ class ForceMove: 0., 0., 0., axis_r, 0., 0., 0., cruise_v, accel) print_time = print_time + accel_t + cruise_t + accel_t stepper.generate_steps(print_time) - self.trapq_free_moves(self.trapq, print_time + 99999.9) + self.trapq_finalize_moves(self.trapq, print_time + 99999.9) stepper.set_trapq(prev_trapq) stepper.set_stepper_kinematics(prev_sk) toolhead.note_kinematic_activity(print_time) -- cgit v1.2.3-70-g09d2