File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -3846,6 +3846,7 @@ run_current:
38463846#driver_SEIMIN: 0
38473847#driver_SFILT: 0
38483848#driver_SG4_ANGLE_OFFSET: 1
3849+ #driver_SLOPE_CONTROL: 0
38493850# Set the given register during the configuration of the TMC2240
38503851# chip. This may be used to set custom motor parameters. The
38513852# defaults for each parameter are next to the parameter name in the
Original file line number Diff line number Diff line change @@ -408,6 +408,8 @@ def __init__(self, config):
408408 set_config_field (config , "tpowerdown" , 10 )
409409 # SG4_THRS
410410 set_config_field (config , "sg4_angle_offset" , 1 )
411+ # DRV_CONF
412+ set_config_field (config , "slope_control" , 0 )
411413
412414def load_config_prefix (config ):
413415 return TMC2240 (config )
You can’t perform that action at this time.
0 commit comments