aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/chelper/kin_polar.c
diff options
context:
space:
mode:
Diffstat (limited to 'klippy/chelper/kin_polar.c')
-rw-r--r--klippy/chelper/kin_polar.c4
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;
}