aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/force_move.py
diff options
context:
space:
mode:
Diffstat (limited to 'klippy/extras/force_move.py')
-rw-r--r--klippy/extras/force_move.py4
1 files changed, 2 insertions, 2 deletions
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)