mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-08-06 21:44:13 -06:00
tmc: Do not pass the frequency directly to the helpers
Use the new get_tmc_frequency() instead. Signed-off-by: Alex Voinea <voinea.dragos.alexandru@gmail.com>
This commit is contained in:
parent
472d8e5b66
commit
f01c8853ca
6 changed files with 8 additions and 7 deletions
|
@ -335,7 +335,7 @@ class TMC5160:
|
|||
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)
|
||||
set_config_field = self.fields.set_config_field
|
||||
# GCONF
|
||||
set_config_field(config, "multistep_filt", True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue