diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2019-10-27 11:06:46 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2019-11-06 15:51:51 -0500 |
commit | 92993c062b4c70e4e97cecdfb2b43b8c0bbef96c (patch) | |
tree | 3368e2ca0d637c4fedaca839bd208b89d0a9f7e0 /klippy/chelper/kin_polar.c | |
parent | 9945cc0f46b74e8f224c4fd421b36f59e4191905 (diff) | |
download | kutter-92993c062b4c70e4e97cecdfb2b43b8c0bbef96c.tar.gz kutter-92993c062b4c70e4e97cecdfb2b43b8c0bbef96c.tar.xz kutter-92993c062b4c70e4e97cecdfb2b43b8c0bbef96c.zip |
itersolve: Rename calc_position to calc_position_cb
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/chelper/kin_polar.c')
-rw-r--r-- | klippy/chelper/kin_polar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/klippy/chelper/kin_polar.c b/klippy/chelper/kin_polar.c index d1a00273..bba5546a 100644 --- a/klippy/chelper/kin_polar.c +++ b/klippy/chelper/kin_polar.c @@ -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; } |