From 5249d955bb0a4ee131cc3def5d9d53d61e2d4334 Mon Sep 17 00:00:00 2001 From: Alex Voinea Date: Tue, 14 May 2024 22:21:58 +0200 Subject: tmc: Implement coolstep_threshold for drivers that support it Signed-off-by: Alex Voinea --- klippy/extras/tmc5160.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'klippy/extras/tmc5160.py') diff --git a/klippy/extras/tmc5160.py b/klippy/extras/tmc5160.py index e37435e6..97d2d6f9 100644 --- a/klippy/extras/tmc5160.py +++ b/klippy/extras/tmc5160.py @@ -336,6 +336,8 @@ class TMC5160: # Setup basic register values tmc.TMCWaveTableHelper(config, self.mcu_tmc) tmc.TMCStealthchopHelper(config, self.mcu_tmc) + tmc.TMCVcoolthrsHelper(config, self.mcu_tmc) + # Allow other registers to be set from the config set_config_field = self.fields.set_config_field # GCONF set_config_field(config, "multistep_filt", True) -- cgit v1.2.3-70-g09d2