aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/example-extras.cfg2
-rw-r--r--docs/Config_Changes.md3
-rw-r--r--klippy/extras/tmc5160.py2
3 files changed, 5 insertions, 2 deletions
diff --git a/config/example-extras.cfg b/config/example-extras.cfg
index bf7a73f5..7591645b 100644
--- a/config/example-extras.cfg
+++ b/config/example-extras.cfg
@@ -1615,7 +1615,7 @@
#driver_DISS2VS: 0
#driver_PWM_AUTOSCALE: True
#driver_PWM_AUTOGRAD: True
-#driver_PWM_FREQ: 1
+#driver_PWM_FREQ: 0
#driver_FREEWHEEL: 0
#driver_PWM_GRAD: 0
#driver_PWM_OFS: 30
diff --git a/docs/Config_Changes.md b/docs/Config_Changes.md
index 24a26d6e..c0367bfa 100644
--- a/docs/Config_Changes.md
+++ b/docs/Config_Changes.md
@@ -6,6 +6,9 @@ All dates in this document are approximate.
# Changes
+20200524: The default value for the tmc5160 pwm_freq field is now zero
+(instead of one).
+
20200425: The gcode_macro command template variable `printer.heater`
was renamed to `printer.heaters`.
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)