aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/chelper.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2017-04-07 12:51:52 -0400
committerKevin O'Connor <kevin@koconnor.net>2017-04-07 14:43:25 -0400
commit98add22891d66d0a9ce21d35b750d20d3671382e (patch)
treebae6b300d3b76d3650ea49af09817952a99011c6 /klippy/chelper.py
parent1d81bf559657422db7a7dbd7a1f7f5b2b352eb21 (diff)
downloadkutter-98add22891d66d0a9ce21d35b750d20d3671382e.tar.gz
kutter-98add22891d66d0a9ce21d35b750d20d3671382e.tar.xz
kutter-98add22891d66d0a9ce21d35b750d20d3671382e.zip
stepcompress: Merge stepcompress_push_accel() and stepcompress_push_const()
It's not necessary to have separate C functions for constant acceleration and constant velocity as constant velocity can be obtained by using a constant acceleration of zero. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/chelper.py')
-rw-r--r--klippy/chelper.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/klippy/chelper.py b/klippy/chelper.py
index bfc74127..910fa5e6 100644
--- a/klippy/chelper.py
+++ b/klippy/chelper.py
@@ -23,8 +23,6 @@ defs_stepcompress = """
int 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 cruise_sv);
- int32_t stepcompress_push_accel(struct stepcompress *sc, double clock_offset
, double step_offset, double steps, double start_sv, double accel);
int32_t stepcompress_push_delta_const(struct stepcompress *sc
, double clock_offset, double dist, double start_pos