mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-08-09 06:45:26 -06:00
winch: Convert step generation to use trapq system
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
4b5cbc18a4
commit
746b928c8b
2 changed files with 6 additions and 12 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue