aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras
diff options
context:
space:
mode:
authorDmitry Butyugin <dmbutyugin@google.com>2025-05-17 17:28:58 +0200
committerKevinOConnor <kevin@koconnor.net>2025-05-22 14:44:09 -0400
commitb1011e3fb14df7470d9b74e59042383012b199c6 (patch)
tree94e2bbd83ca206a6279b6b143d66c6deac711246 /klippy/extras
parent17b8ce4c6be16d77d647b6d12356dc69830ec1e7 (diff)
downloadkutter-b1011e3fb14df7470d9b74e59042383012b199c6.tar.gz
kutter-b1011e3fb14df7470d9b74e59042383012b199c6.tar.xz
kutter-b1011e3fb14df7470d9b74e59042383012b199c6.zip
dual_carriage: Fixed input shaper stepper kinematics initialization
Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
Diffstat (limited to 'klippy/extras')
-rw-r--r--klippy/extras/input_shaper.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/klippy/extras/input_shaper.py b/klippy/extras/input_shaper.py
index a628289e..82d63572 100644
--- a/klippy/extras/input_shaper.py
+++ b/klippy/extras/input_shaper.py
@@ -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