tmc2130: implement missing HighVelocity fields in the config

Signed-off-by: Alex Voinea <voinea.dragos.alexandru@gmail.com>
This commit is contained in:
Alex Voinea authored and Kevin O'Connor committed 2024-05-14 13:26:58 -04:00
1 parent f01c8853ca
commit 1ca1054957
2 files changed
+4

No files matched your search

+2
View File
@@ -3347,6 +3347,8 @@ run_current:
#driver_TOFF: 4
#driver_HEND: 7
#driver_HSTRT: 0
#driver_VHIGHFS: 0
#driver_VHIGHCHM: 0
#driver_PWM_AUTOSCALE: True
#driver_PWM_FREQ: 1
#driver_PWM_GRAD: 4
+2
View File
@@ -304,6 +304,8 @@ class TMC2130:
set_config_field(config, "hstrt", 0)
set_config_field(config, "hend", 7)
set_config_field(config, "tbl", 1)
set_config_field(config, "vhighfs", 0)
set_config_field(config, "vhighchm", 0)
# COOLCONF
set_config_field(config, "sgt", 0)
# IHOLDIRUN