aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/chelper/kin_corexy.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2019-10-28 22:59:07 -0400
committerKevin O'Connor <kevin@koconnor.net>2019-11-06 15:51:51 -0500
commitb792e0fdd1fbd27816f7b1524412bc22742677a5 (patch)
tree32a02d27867afbb2da89f95cebebca5ca5636c4c /klippy/chelper/kin_corexy.c
parent7afac2b3afb519e742e33dca62db5d9657f10ee0 (diff)
downloadkutter-b792e0fdd1fbd27816f7b1524412bc22742677a5.tar.gz
kutter-b792e0fdd1fbd27816f7b1524412bc22742677a5.tar.xz
kutter-b792e0fdd1fbd27816f7b1524412bc22742677a5.zip
corexy: Convert step generation to use trapq system
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/chelper/kin_corexy.c')
-rw-r--r--klippy/chelper/kin_corexy.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/klippy/chelper/kin_corexy.c b/klippy/chelper/kin_corexy.c
index a5a5022c..b1aba650 100644
--- a/klippy/chelper/kin_corexy.c
+++ b/klippy/chelper/kin_corexy.c
@@ -1,6 +1,6 @@
// CoreXY 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.
@@ -35,5 +35,6 @@ corexy_stepper_alloc(char type)
sk->calc_position_cb = corexy_stepper_plus_calc_position;
else if (type == '-')
sk->calc_position_cb = corexy_stepper_minus_calc_position;
+ sk->active_flags = AF_X | AF_Y;
return sk;
}