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_polar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'klippy/chelper/kin_polar.c') 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; } -- cgit v1.2.3-70-g09d2