aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/chelper.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2017-09-13 09:01:13 -0400
committerKevin O'Connor <kevin@koconnor.net>2017-09-13 09:24:27 -0400
commit14810d7e80e6a691b9d28a21f6cb525ad9fe9855 (patch)
treeaf8cc8b2b03b1c4f080c89bda8ab2be9cc3c43d7 /klippy/chelper.py
parent52156d2c418b38576a27e804eb41901b91206825 (diff)
downloadkutter-14810d7e80e6a691b9d28a21f6cb525ad9fe9855.tar.gz
kutter-14810d7e80e6a691b9d28a21f6cb525ad9fe9855.tar.xz
kutter-14810d7e80e6a691b9d28a21f6cb525ad9fe9855.zip
stepcompress: Return number of steps traveled from stepcompress_push()
Return the same information from stepcompress_push() that is returned from stepcompress_push_const() and stpcompress_push_delta(). Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/chelper.py')
-rw-r--r--klippy/chelper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/chelper.py b/klippy/chelper.py
index a53304e5..b7dce015 100644
--- a/klippy/chelper.py
+++ b/klippy/chelper.py
@@ -25,7 +25,7 @@ defs_stepcompress = """
int stepcompress_set_homing(struct stepcompress *sc, uint64_t homing_clock);
int stepcompress_queue_msg(struct stepcompress *sc, uint32_t *data, int len);
- int stepcompress_push(struct stepcompress *sc, double step_clock
+ int32_t stepcompress_push(struct stepcompress *sc, double step_clock
, int32_t sdir);
int32_t stepcompress_push_const(struct stepcompress *sc, double clock_offset
, double step_offset, double steps, double start_sv, double accel);