diff options
author | BIGTREETECH <38851044+bigtreetech@users.noreply.github.com> | 2023-03-28 09:18:06 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-27 21:18:06 -0400 |
commit | 346e3901f6076987bdb8a6ec391f00f07e5c45e2 (patch) | |
tree | fbd8f23c766b812af9b34ac7bcd0a60246ae1077 /klippy/extras | |
parent | 1a2033aba88e59c59ca4527378344e3407f08fdf (diff) | |
download | kutter-346e3901f6076987bdb8a6ec391f00f07e5c45e2.tar.gz kutter-346e3901f6076987bdb8a6ec391f00f07e5c45e2.tar.xz kutter-346e3901f6076987bdb8a6ec391f00f07e5c45e2.zip |
tmc: Enable sg_angle_offset for smooth switching from Stealthchop to Spreadcycle (#6123)
Signed-off-by: Alan.Ma from BigTreeTech <tech@biqu3d.com>
Diffstat (limited to 'klippy/extras')
-rw-r--r-- | klippy/extras/tmc2240.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/klippy/extras/tmc2240.py b/klippy/extras/tmc2240.py index 1bc4c1ca..45482509 100644 --- a/klippy/extras/tmc2240.py +++ b/klippy/extras/tmc2240.py @@ -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) |