diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2017-04-04 19:37:54 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2017-04-07 13:26:39 -0400 |
commit | 47f12f107d613ce0ccd11b69aee126df24fcb8e7 (patch) | |
tree | 79ed2e6ab48ef9a8becca0bb6b152c60e5a9a94a /klippy/chelper.py | |
parent | bfad970e4dcf9f7aca4f8442477ca9e886871c9e (diff) | |
download | kutter-47f12f107d613ce0ccd11b69aee126df24fcb8e7.tar.gz kutter-47f12f107d613ce0ccd11b69aee126df24fcb8e7.tar.xz kutter-47f12f107d613ce0ccd11b69aee126df24fcb8e7.zip |
stepcompress: Move stepcompress_push_* functions to their own section
This is only code movement; no code changes.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/chelper.py')
-rw-r--r-- | klippy/chelper.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/klippy/chelper.py b/klippy/chelper.py index ed494456..b35089a1 100644 --- a/klippy/chelper.py +++ b/klippy/chelper.py @@ -16,6 +16,10 @@ defs_stepcompress = """ , uint32_t queue_step_msgid, uint32_t set_next_step_dir_msgid , uint32_t invert_sdir, uint32_t oid); 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); + int stepcompress_queue_msg(struct stepcompress *sc, uint32_t *data, int len); + int stepcompress_push(struct stepcompress *sc, double step_clock , int32_t sdir); int32_t stepcompress_push_factor(struct stepcompress *sc @@ -32,9 +36,6 @@ defs_stepcompress = """ , double clock_offset, double dist, double start_pos , double accel_multiplier, double step_dist, double height , double closestxy_d, double closest_height2, double movez_r); - int stepcompress_reset(struct stepcompress *sc, uint64_t last_step_clock); - int stepcompress_set_homing(struct stepcompress *sc, uint64_t homing_clock); - int stepcompress_queue_msg(struct stepcompress *sc, uint32_t *data, int len); struct steppersync *steppersync_alloc(struct serialqueue *sq , struct stepcompress **sc_list, int sc_num, int move_num); |