aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/chelper/kin_corexy.c
diff options
context:
space:
mode:
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;
}