From 85ed5cef7fe483d921b1081b4664c35ad4e64967 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Fri, 7 Apr 2017 10:49:14 -0400 Subject: stepcompress: Merge stepcompress_delta_const and stepcompress_delta_accel It's not necessary to have separate C delta kinematic 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 --- klippy/chelper.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'klippy/chelper.py') diff --git a/klippy/chelper.py b/klippy/chelper.py index afc5b1d9..86994830 100644 --- a/klippy/chelper.py +++ b/klippy/chelper.py @@ -24,11 +24,7 @@ defs_stepcompress = """ , int32_t sdir); int32_t stepcompress_push_const(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 start_pos, double steps, double cruise_sv - , double height, double closestxy_sd - , double closest_height2, double movez_r); - int32_t stepcompress_push_delta_accel(struct stepcompress *sc + int32_t stepcompress_push_delta(struct stepcompress *sc , double clock_offset, double start_pos, double steps, double start_sv , double accel, double height, double closestxy_sd , double closest_height2, double movez_r); -- cgit v1.2.3-70-g09d2