aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/corexy.py
diff options
context:
space:
mode:
Diffstat (limited to 'klippy/corexy.py')
-rw-r--r--klippy/corexy.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/klippy/corexy.py b/klippy/corexy.py
index b724a4e1..dfee7bb3 100644
--- a/klippy/corexy.py
+++ b/klippy/corexy.py
@@ -126,18 +126,19 @@ class CoreXYKinematics:
# Acceleration steps
if move.accel_r:
accel_d = move.accel_r * axis_d
- mcu_stepper.step_accel(
+ mcu_stepper.step_const(
mcu_time, start_pos, accel_d, move.start_v * axis_r, accel)
start_pos += accel_d
mcu_time += move.accel_t
# Cruising steps
if move.cruise_r:
cruise_d = move.cruise_r * axis_d
- mcu_stepper.step_const(mcu_time, start_pos, cruise_d, cruise_v)
+ mcu_stepper.step_const(
+ mcu_time, start_pos, cruise_d, cruise_v, 0.)
start_pos += cruise_d
mcu_time += move.cruise_t
# Deceleration steps
if move.decel_r:
decel_d = move.decel_r * axis_d
- mcu_stepper.step_accel(
+ mcu_stepper.step_const(
mcu_time, start_pos, decel_d, cruise_v, -accel)