diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2021-06-11 23:12:16 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2021-06-11 23:12:16 -0400 |
commit | 150604347730721ec5b4aefd38b05f7b8dddb608 (patch) | |
tree | 63ad92c1540e69ba9031d9fcdb9c03a723e17b80 /klippy/chelper/stepcompress.h | |
parent | d1665fae4f48519198fcd430d5fc18f17aee4e77 (diff) | |
download | kutter-150604347730721ec5b4aefd38b05f7b8dddb608.tar.gz kutter-150604347730721ec5b4aefd38b05f7b8dddb608.tar.xz kutter-150604347730721ec5b4aefd38b05f7b8dddb608.zip |
stepcompress: Add missing functions to stepcompress.h
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/chelper/stepcompress.h')
-rw-r--r-- | klippy/chelper/stepcompress.h | 4 |
1 files changed, 4 insertions, 0 deletions
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; |