From 17199d50686072ba3002f638c629ba570546fe00 Mon Sep 17 00:00:00 2001 From: Ran Bao Date: Thu, 4 Aug 2022 22:15:10 +1200 Subject: [PATCH] synchronize the acceleration between the gear stepper and the extruder --- Klipper_Files/Extra module/ercf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Klipper_Files/Extra module/ercf.py b/Klipper_Files/Extra module/ercf.py index d8ecb373..ee039d5c 100644 --- a/Klipper_Files/Extra module/ercf.py +++ b/Klipper_Files/Extra module/ercf.py @@ -243,8 +243,8 @@ def cmd_ERCF_HOME_EXTRUDER(self, gcmd): break if both_in_sync : self.gear_stepper.do_set_position(0.) - self.gear_stepper.do_move(step_length, homing_speed, - self.short_moves_accel, False) + self.gear_stepper.do_move(step_length, homing_speed, + self.toolhead.max_accel, False) pos = self.toolhead.get_position() pos[3] += step_length self.toolhead.manual_move(pos, homing_speed)