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_cartesian.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'klippy/chelper/kin_cartesian.c') diff --git a/klippy/chelper/kin_cartesian.c b/klippy/chelper/kin_cartesian.c index 2b323d14..c59410b5 100644 --- a/klippy/chelper/kin_cartesian.c +++ b/klippy/chelper/kin_cartesian.c @@ -37,10 +37,10 @@ cartesian_stepper_alloc(char axis) struct stepper_kinematics *sk = malloc(sizeof(*sk)); memset(sk, 0, sizeof(*sk)); if (axis == 'x') - sk->calc_position = cart_stepper_x_calc_position; + sk->calc_position_cb = cart_stepper_x_calc_position; else if (axis == 'y') - sk->calc_position = cart_stepper_y_calc_position; + sk->calc_position_cb = cart_stepper_y_calc_position; else if (axis == 'z') - sk->calc_position = cart_stepper_z_calc_position; + sk->calc_position_cb = cart_stepper_z_calc_position; return sk; } -- cgit v1.2.3-70-g09d2