diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2019-10-28 23:35:22 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2019-11-06 15:51:51 -0500 |
commit | 746b928c8bd5208fd7bbde15472e9dcb40b9f351 (patch) | |
tree | 159f81006d2f4afcbe1629625bbf4c8491d8f036 /klippy/chelper/kin_winch.c | |
parent | 4b5cbc18a4a17f7a3c107693a4d7c1d32f0238c5 (diff) | |
download | kutter-746b928c8bd5208fd7bbde15472e9dcb40b9f351.tar.gz kutter-746b928c8bd5208fd7bbde15472e9dcb40b9f351.tar.xz kutter-746b928c8bd5208fd7bbde15472e9dcb40b9f351.zip |
winch: Convert step generation to use trapq system
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/chelper/kin_winch.c')
-rw-r--r-- | klippy/chelper/kin_winch.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/klippy/chelper/kin_winch.c b/klippy/chelper/kin_winch.c index 47a1ba92..c6501d27 100644 --- a/klippy/chelper/kin_winch.c +++ b/klippy/chelper/kin_winch.c @@ -1,6 +1,6 @@ // Cable winch stepper kinematics // -// Copyright (C) 2018 Kevin O'Connor <kevin@koconnor.net> +// Copyright (C) 2018-2019 Kevin O'Connor <kevin@koconnor.net> // // This file may be distributed under the terms of the GNU GPLv3 license. @@ -37,5 +37,6 @@ winch_stepper_alloc(double anchor_x, double anchor_y, double anchor_z) hs->anchor.y = anchor_y; hs->anchor.z = anchor_z; hs->sk.calc_position_cb = winch_stepper_calc_position; + hs->sk.active_flags = AF_X | AF_Y | AF_Z; return &hs->sk; } |