aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/chelper/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'klippy/chelper/__init__.py')
-rw-r--r--klippy/chelper/__init__.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/klippy/chelper/__init__.py b/klippy/chelper/__init__.py
index 00fec80c..32b065d3 100644
--- a/klippy/chelper/__init__.py
+++ b/klippy/chelper/__init__.py
@@ -22,9 +22,10 @@ DEST_LIB = "c_helper.so"
OTHER_FILES = ['list.h', 'serialqueue.h', 'stepcompress.h', 'pyhelper.h']
defs_stepcompress = """
- struct stepcompress *stepcompress_alloc(uint32_t max_error
- , uint32_t queue_step_msgid, uint32_t set_next_step_dir_msgid
- , uint32_t invert_sdir, uint32_t oid);
+ struct stepcompress *stepcompress_alloc(uint32_t oid);
+ void stepcompress_fill(struct stepcompress *sc, uint32_t max_error
+ , uint32_t invert_sdir, uint32_t queue_step_msgid
+ , uint32_t set_next_step_dir_msgid);
void stepcompress_free(struct stepcompress *sc);
int stepcompress_reset(struct stepcompress *sc, uint64_t last_step_clock);
int stepcompress_set_homing(struct stepcompress *sc, uint64_t homing_clock);