tmc: Enable sg_angle_offset for smooth switching from Stealthchop to Spreadcycle (#6123)
Signed-off-by: Alan.Ma from BigTreeTech <tech@biqu3d.com>
This commit is contained in:
@@ -394,6 +394,8 @@ class TMC2240:
|
||||
set_config_field(config, "pwm_lim", 12)
|
||||
# TPOWERDOWN
|
||||
set_config_field(config, "tpowerdown", 10)
|
||||
# SG4_THRS
|
||||
set_config_field(config, "sg4_angle_offset", 1)
|
||||
|
||||
def load_config_prefix(config):
|
||||
return TMC2240(config)
|
||||
|
||||
Reference in New Issue
Block a user