tmc2240: Allow the slope_control field to be configured via printer.cfg
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -408,6 +408,8 @@ class TMC2240:
|
||||
set_config_field(config, "tpowerdown", 10)
|
||||
# SG4_THRS
|
||||
set_config_field(config, "sg4_angle_offset", 1)
|
||||
# DRV_CONF
|
||||
set_config_field(config, "slope_control", 0)
|
||||
|
||||
def load_config_prefix(config):
|
||||
return TMC2240(config)
|
||||
|
||||
Reference in New Issue
Block a user