aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/chelper/kin_corexy.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2019-10-27 11:06:46 -0400
committerKevin O'Connor <kevin@koconnor.net>2019-11-06 15:51:51 -0500
commit92993c062b4c70e4e97cecdfb2b43b8c0bbef96c (patch)
tree3368e2ca0d637c4fedaca839bd208b89d0a9f7e0 /klippy/chelper/kin_corexy.c
parent9945cc0f46b74e8f224c4fd421b36f59e4191905 (diff)
downloadkutter-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_corexy.c')
-rw-r--r--klippy/chelper/kin_corexy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/klippy/chelper/kin_corexy.c b/klippy/chelper/kin_corexy.c
index 2a097d91..6339b32b 100644
--- a/klippy/chelper/kin_corexy.c
+++ b/klippy/chelper/kin_corexy.c
@@ -31,8 +31,8 @@ corexy_stepper_alloc(char type)
struct stepper_kinematics *sk = malloc(sizeof(*sk));
memset(sk, 0, sizeof(*sk));
if (type == '+')
- sk->calc_position = corexy_stepper_plus_calc_position;
+ sk->calc_position_cb = corexy_stepper_plus_calc_position;
else if (type == '-')
- sk->calc_position = corexy_stepper_minus_calc_position;
+ sk->calc_position_cb = corexy_stepper_minus_calc_position;
return sk;
}