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:
Kevin O'Connor
2025-01-10 12:29:41 -05:00
parent aae29ba48b
commit cf3b0475da
2 changed files with 3 additions and 0 deletions

View File

@@ -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)