mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-24 07:04:01 -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
|
@ -38,8 +38,8 @@ polar_stepper_alloc(char type)
|
|||
struct stepper_kinematics *sk = malloc(sizeof(*sk));
|
||||
memset(sk, 0, sizeof(*sk));
|
||||
if (type == 'r')
|
||||
sk->calc_position = polar_stepper_radius_calc_position;
|
||||
sk->calc_position_cb = polar_stepper_radius_calc_position;
|
||||
else if (type == 'a')
|
||||
sk->calc_position = polar_stepper_angle_calc_position;
|
||||
sk->calc_position_cb = polar_stepper_angle_calc_position;
|
||||
return sk;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue