dual_carriage: Fixed input shaper stepper kinematics initialization

Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
This commit is contained in:
Dmitry Butyugin
2025-05-17 17:28:58 +02:00
committed by KevinOConnor
parent 17b8ce4c6b
commit b1011e3fb1
2 changed files with 13 additions and 3 deletions

View File

@@ -101,6 +101,10 @@ class InputShaper:
desc=self.cmd_SET_INPUT_SHAPER_help)
def get_shapers(self):
return self.shapers
def init_for_steppers(self, steppers):
ffi_main, ffi_lib = chelper.get_ffi()
for s in steppers:
self._get_input_shaper_stepper_kinematics(s)
def connect(self):
self.toolhead = self.printer.lookup_object("toolhead")
# Configure initial values