mirror of https://github.com/Desuuuu/klipper.git
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>
This commit is contained in:
parent
5afa5d3fbb
commit
686d557863
|
@ -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
|
||||
|
|
|
@ -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`.
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue