diff options
author | Francois Chagnon <fc@francoischagnon.net> | 2023-12-30 11:34:21 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-30 11:34:21 -0500 |
commit | d7f6348ae6e45e4b566d10974b10ab4bb111222b (patch) | |
tree | 8499e6a9404c0240f44a70f15d4c547db498d993 /klippy/chelper/stepcompress.h | |
parent | b502558052f40339baa04fcfcbbeb65aa77dc1d8 (diff) | |
download | kutter-d7f6348ae6e45e4b566d10974b10ab4bb111222b.tar.gz kutter-d7f6348ae6e45e4b566d10974b10ab4bb111222b.tar.xz kutter-d7f6348ae6e45e4b566d10974b10ab4bb111222b.zip |
toolhead: Keep stepcompress move history relative to current time (#6439)
Expire history relative to current time rather than last move in history queue
Signed-off-by: Francois Chagnon <fc@francoischagnon.net>
Diffstat (limited to 'klippy/chelper/stepcompress.h')
-rw-r--r-- | klippy/chelper/stepcompress.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/klippy/chelper/stepcompress.h b/klippy/chelper/stepcompress.h index bfc0dfcd..c5b40383 100644 --- a/klippy/chelper/stepcompress.h +++ b/klippy/chelper/stepcompress.h @@ -42,6 +42,7 @@ struct steppersync *steppersync_alloc( void steppersync_free(struct steppersync *ss); void steppersync_set_time(struct steppersync *ss, double time_offset , double mcu_freq); -int steppersync_flush(struct steppersync *ss, uint64_t move_clock); +int steppersync_flush(struct steppersync *ss, uint64_t move_clock + , uint64_t clear_history_clock); #endif // stepcompress.h |