diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2019-10-29 12:23:19 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2019-11-06 15:51:51 -0500 |
commit | 797dcfcb1218194077d37dd53575c19c4af710c5 (patch) | |
tree | 23a9a6851d2b6a2193adba94bec0a3e699b291aa /klippy/chelper/itersolve.c | |
parent | bd3c8920f617e0159e7d73b97efb9fd36fc8508b (diff) | |
download | kutter-797dcfcb1218194077d37dd53575c19c4af710c5.tar.gz kutter-797dcfcb1218194077d37dd53575c19c4af710c5.tar.xz kutter-797dcfcb1218194077d37dd53575c19c4af710c5.zip |
itersolve: Remove unused gen_steps()
Eliminate the old gen_steps() call now that all callers have been
converted to the newer trapq based generate_steps().
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/chelper/itersolve.c')
-rw-r--r-- | klippy/chelper/itersolve.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/klippy/chelper/itersolve.c b/klippy/chelper/itersolve.c index c84d25cc..eeb107ab 100644 --- a/klippy/chelper/itersolve.c +++ b/klippy/chelper/itersolve.c @@ -8,7 +8,7 @@ #include <stddef.h> // offsetof #include <string.h> // memset #include "compiler.h" // __visible -#include "itersolve.h" // itersolve_gen_steps +#include "itersolve.h" // itersolve_generate_steps #include "pyhelper.h" // errorf #include "stepcompress.h" // queue_append_start #include "trapq.h" // struct move @@ -128,14 +128,6 @@ itersolve_gen_steps_range(struct stepper_kinematics *sk, struct move *m return 0; } -// Generate step times for a move -int32_t __visible -itersolve_gen_steps(struct stepper_kinematics *sk, struct move *m) -{ - return itersolve_gen_steps_range(sk, m, m->print_time - , m->print_time + m->move_t); -} - // Check if a move is likely to cause movement on a stepper static inline int check_active(struct stepper_kinematics *sk, struct move *m) |