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/tmc2240.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'klippy/extras/tmc2240.py') diff --git a/klippy/extras/tmc2240.py b/klippy/extras/tmc2240.py index f4c75aa9..3989b902 100644 --- a/klippy/extras/tmc2240.py +++ b/klippy/extras/tmc2240.py @@ -365,6 +365,8 @@ class TMC2240: tmc.TMCWaveTableHelper(config, self.mcu_tmc) self.fields.set_config_field(config, "offset_sin90", 0) 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