mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-23 06:33:59 -06:00
itersolve: Rename calc_position to calc_position_cb
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
9945cc0f46
commit
92993c062b
8 changed files with 20 additions and 20 deletions
|
@ -30,12 +30,12 @@ double move_get_distance(struct move *m, double move_time);
|
|||
struct coord move_get_coord(struct move *m, double move_time);
|
||||
|
||||
struct stepper_kinematics;
|
||||
typedef double (*sk_callback)(struct stepper_kinematics *sk, struct move *m
|
||||
, double move_time);
|
||||
typedef double (*sk_calc_callback)(struct stepper_kinematics *sk, struct move *m
|
||||
, double move_time);
|
||||
struct stepper_kinematics {
|
||||
double step_dist, commanded_pos;
|
||||
struct stepcompress *sc;
|
||||
sk_callback calc_position;
|
||||
sk_calc_callback calc_position_cb;
|
||||
};
|
||||
|
||||
int32_t itersolve_gen_steps(struct stepper_kinematics *sk, struct move *m);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue