From 92993c062b4c70e4e97cecdfb2b43b8c0bbef96c Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Sun, 27 Oct 2019 11:06:46 -0400 Subject: itersolve: Rename calc_position to calc_position_cb Signed-off-by: Kevin O'Connor --- klippy/chelper/kin_corexy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'klippy/chelper/kin_corexy.c') 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; } -- cgit v1.2.3-70-g09d2