aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/chelper/trapq.c
diff options
context:
space:
mode:
Diffstat (limited to 'klippy/chelper/trapq.c')
-rw-r--r--klippy/chelper/trapq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/klippy/chelper/trapq.c b/klippy/chelper/trapq.c
index 7dc5a62a..177db8d8 100644
--- a/klippy/chelper/trapq.c
+++ b/klippy/chelper/trapq.c
@@ -157,9 +157,9 @@ trapq_add_move(struct trapq *tq, struct move *m)
tail_sentinel->print_time = 0.;
}
-// Free any moves older than `print_time` from the trapezoid velocity queue
+// Expire any moves older than `print_time` from the trapezoid velocity queue
void __visible
-trapq_free_moves(struct trapq *tq, double print_time)
+trapq_finalize_moves(struct trapq *tq, double print_time)
{
struct move *head_sentinel = list_first_entry(&tq->moves, struct move,node);
struct move *tail_sentinel = list_last_entry(&tq->moves, struct move, node);