From 150604347730721ec5b4aefd38b05f7b8dddb608 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Fri, 11 Jun 2021 23:12:16 -0400 Subject: [PATCH] stepcompress: Add missing functions to stepcompress.h Signed-off-by: Kevin O'Connor --- klippy/chelper/stepcompress.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/klippy/chelper/stepcompress.h b/klippy/chelper/stepcompress.h index 2d1534c1..4c708541 100644 --- a/klippy/chelper/stepcompress.h +++ b/klippy/chelper/stepcompress.h @@ -16,6 +16,10 @@ int stepcompress_append(struct stepcompress *sc, int sdir , double print_time, double step_time); int stepcompress_commit(struct stepcompress *sc); int stepcompress_reset(struct stepcompress *sc, uint64_t last_step_clock); +int stepcompress_set_last_position(struct stepcompress *sc + , int64_t last_position); +int64_t stepcompress_find_past_position(struct stepcompress *sc + , uint64_t clock); int stepcompress_queue_msg(struct stepcompress *sc, uint32_t *data, int len); struct serialqueue;