From f01c8853ca5c4f7d89ea1ae9a33779fe9c0446b1 Mon Sep 17 00:00:00 2001 From: Alex Voinea Date: Mon, 13 May 2024 22:31:39 +0200 Subject: tmc: Do not pass the frequency directly to the helpers Use the new get_tmc_frequency() instead. Signed-off-by: Alex Voinea --- klippy/extras/tmc2130.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'klippy/extras/tmc2130.py') diff --git a/klippy/extras/tmc2130.py b/klippy/extras/tmc2130.py index 62a9abbf..3da346b4 100644 --- a/klippy/extras/tmc2130.py +++ b/klippy/extras/tmc2130.py @@ -296,7 +296,7 @@ class TMC2130: self.get_status = cmdhelper.get_status # Setup basic register values tmc.TMCWaveTableHelper(config, self.mcu_tmc) - tmc.TMCStealthchopHelper(config, self.mcu_tmc, TMC_FREQUENCY) + tmc.TMCStealthchopHelper(config, self.mcu_tmc) # Allow other registers to be set from the config set_config_field = self.fields.set_config_field # CHOPCONF -- cgit v1.2.3-70-g09d2