aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/chelper/__init__.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2021-02-22 17:57:36 -0500
committerKevin O'Connor <kevin@koconnor.net>2021-03-13 15:19:43 -0500
commit81428265bdcd5db02bd981975e0a8d43bdc2415f (patch)
treedbc8c8c7f5ba8510eb9b374719347b0153a3ea28 /klippy/chelper/__init__.py
parent4cbcd45ce908e72a04bead980bd631b932e6ef03 (diff)
downloadkutter-81428265bdcd5db02bd981975e0a8d43bdc2415f.tar.gz
kutter-81428265bdcd5db02bd981975e0a8d43bdc2415f.tar.xz
kutter-81428265bdcd5db02bd981975e0a8d43bdc2415f.zip
stepcompress: Add support for tracking history of queue_step commands
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/chelper/__init__.py')
-rw-r--r--klippy/chelper/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/klippy/chelper/__init__.py b/klippy/chelper/__init__.py
index 11808aef..4d199126 100644
--- a/klippy/chelper/__init__.py
+++ b/klippy/chelper/__init__.py
@@ -35,6 +35,10 @@ defs_stepcompress = """
, int32_t set_next_step_dir_msgtag);
void stepcompress_free(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);