diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2020-05-24 11:49:56 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2020-05-24 23:58:48 -0400 |
commit | 686d557863b5a529ec26c017ecd6bf7f5f05eb86 (patch) | |
tree | b56567725ae6d59c9bae8db6469ae4b5d648785e /klippy/extras/tmc5160.py | |
parent | 5afa5d3fbb2037f2c5ab1c93435bc9547de25894 (diff) | |
download | kutter-686d557863b5a529ec26c017ecd6bf7f5f05eb86.tar.gz kutter-686d557863b5a529ec26c017ecd6bf7f5f05eb86.tar.xz kutter-686d557863b5a529ec26c017ecd6bf7f5f05eb86.zip |
tmc5160: Change the default for the pwm_freq field to zero
The tmc5160 spec shows a default of zero, so use that same default for
Klipper.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/extras/tmc5160.py')
-rw-r--r-- | klippy/extras/tmc5160.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/extras/tmc5160.py b/klippy/extras/tmc5160.py index 2d82900c..a188ba47 100644 --- a/klippy/extras/tmc5160.py +++ b/klippy/extras/tmc5160.py @@ -347,7 +347,7 @@ class TMC5160: # PWMCONF set_config_field(config, "PWM_OFS", 30) set_config_field(config, "PWM_GRAD", 0) - set_config_field(config, "pwm_freq", 1) + set_config_field(config, "pwm_freq", 0) set_config_field(config, "pwm_autoscale", True) set_config_field(config, "pwm_autograd", True) set_config_field(config, "freewheel", 0) |