aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/kinematics/extruder.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2021-07-19 11:12:58 -0400
committerKevin O'Connor <kevin@koconnor.net>2021-07-29 16:35:30 -0400
commite2f483aea3a9eb885a410b264916ffb711daccfa (patch)
tree24bea695e8f87b49a481486652e507ea2e067373 /klippy/kinematics/extruder.py
parentd1b41ea4a1e1419c83aa1bfad31d24a51ff533ff (diff)
downloadkutter-e2f483aea3a9eb885a410b264916ffb711daccfa.tar.gz
kutter-e2f483aea3a9eb885a410b264916ffb711daccfa.tar.xz
kutter-e2f483aea3a9eb885a410b264916ffb711daccfa.zip
trapq: Rename trapq_free_moves() to trapq_finalize_moves()
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/kinematics/extruder.py')
-rw-r--r--klippy/kinematics/extruder.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/klippy/kinematics/extruder.py b/klippy/kinematics/extruder.py
index a232d0b7..cbcb84ec 100644
--- a/klippy/kinematics/extruder.py
+++ b/klippy/kinematics/extruder.py
@@ -48,7 +48,7 @@ class PrinterExtruder:
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.sk_extruder = ffi_main.gc(ffi_lib.extruder_stepper_alloc(),
ffi_lib.free)
self.stepper.set_stepper_kinematics(self.sk_extruder)
@@ -75,7 +75,7 @@ class PrinterExtruder:
self.name, self.cmd_SET_E_STEP_DISTANCE,
desc=self.cmd_SET_E_STEP_DISTANCE_help)
def update_move_time(self, flush_time):
- self.trapq_free_moves(self.trapq, flush_time)
+ self.trapq_finalize_moves(self.trapq, flush_time)
def _set_pressure_advance(self, pressure_advance, smooth_time):
old_smooth_time = self.pressure_advance_smooth_time
if not self.pressure_advance: