tmc: Implement high_velocity_threshold for drivers that support it

Signed-off-by: Alex Voinea <voinea.dragos.alexandru@gmail.com>
This commit is contained in:
Alex Voinea 2024-05-14 22:23:06 +02:00 committed by KevinOConnor
parent 5249d955bb
commit ed8dca8df0
5 changed files with 47 additions and 0 deletions

View file

@ -366,6 +366,7 @@ class TMC2240:
self.fields.set_config_field(config, "offset_sin90", 0)
tmc.TMCStealthchopHelper(config, self.mcu_tmc)
tmc.TMCVcoolthrsHelper(config, self.mcu_tmc)
tmc.TMCVhighHelper(config, self.mcu_tmc)
# Allow other registers to be set from the config
set_config_field = self.fields.set_config_field
# GCONF