mirror of
git://soft.sys114.com/klipper
synced 2026-02-11 06:10:27 +09:00
delta: Convert step generation to use trapq system
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// Delta kinematics stepper pulse time generation
|
||||
//
|
||||
// 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.
|
||||
|
||||
@@ -36,5 +36,6 @@ delta_stepper_alloc(double arm2, double tower_x, double tower_y)
|
||||
ds->tower_x = tower_x;
|
||||
ds->tower_y = tower_y;
|
||||
ds->sk.calc_position_cb = delta_stepper_calc_position;
|
||||
ds->sk.active_flags = AF_X | AF_Y | AF_Z;
|
||||
return &ds->sk;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user