tmc2130: implement missing HighVelocity fields in the config
Signed-off-by: Alex Voinea <voinea.dragos.alexandru@gmail.com>
This commit is contained in:
parent
f01c8853ca
commit
1ca1054957
@ -3347,6 +3347,8 @@ run_current:
|
|||||||
#driver_TOFF: 4
|
#driver_TOFF: 4
|
||||||
#driver_HEND: 7
|
#driver_HEND: 7
|
||||||
#driver_HSTRT: 0
|
#driver_HSTRT: 0
|
||||||
|
#driver_VHIGHFS: 0
|
||||||
|
#driver_VHIGHCHM: 0
|
||||||
#driver_PWM_AUTOSCALE: True
|
#driver_PWM_AUTOSCALE: True
|
||||||
#driver_PWM_FREQ: 1
|
#driver_PWM_FREQ: 1
|
||||||
#driver_PWM_GRAD: 4
|
#driver_PWM_GRAD: 4
|
||||||
|
@ -304,6 +304,8 @@ class TMC2130:
|
|||||||
set_config_field(config, "hstrt", 0)
|
set_config_field(config, "hstrt", 0)
|
||||||
set_config_field(config, "hend", 7)
|
set_config_field(config, "hend", 7)
|
||||||
set_config_field(config, "tbl", 1)
|
set_config_field(config, "tbl", 1)
|
||||||
|
set_config_field(config, "vhighfs", 0)
|
||||||
|
set_config_field(config, "vhighchm", 0)
|
||||||
# COOLCONF
|
# COOLCONF
|
||||||
set_config_field(config, "sgt", 0)
|
set_config_field(config, "sgt", 0)
|
||||||
# IHOLDIRUN
|
# IHOLDIRUN
|
||||||
|
Loading…
x
Reference in New Issue
Block a user