aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/chelper/kin_delta.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2019-10-28 23:09:25 -0400
committerKevin O'Connor <kevin@koconnor.net>2019-11-06 15:51:51 -0500
commit351b56572894a8dbffc00daf380f6037c98f0aa5 (patch)
tree643f9a4ac40f8d5c676633a753f025f39bd500b2 /klippy/chelper/kin_delta.c
parentb792e0fdd1fbd27816f7b1524412bc22742677a5 (diff)
downloadkutter-351b56572894a8dbffc00daf380f6037c98f0aa5.tar.gz
kutter-351b56572894a8dbffc00daf380f6037c98f0aa5.tar.xz
kutter-351b56572894a8dbffc00daf380f6037c98f0aa5.zip
delta: Convert step generation to use trapq system
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/chelper/kin_delta.c')
-rw-r--r--klippy/chelper/kin_delta.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/klippy/chelper/kin_delta.c b/klippy/chelper/kin_delta.c
index 5ead7e98..1cfb1c35 100644
--- a/klippy/chelper/kin_delta.c
+++ b/klippy/chelper/kin_delta.c
@@ -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;
}