aboutsummaryrefslogtreecommitdiffstats
path: root/config/example.cfg
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2017-03-08 20:00:27 -0500
committerKevin O'Connor <kevin@koconnor.net>2017-03-08 20:23:09 -0500
commitbcaf818c0e2bc6b92a579318b9ac97911d0104bf (patch)
tree50ce5f15e290ea56a9d1658f9ef834bff64af9a7 /config/example.cfg
parent37bac916e7dd7159fe731f313859e31e743f7f23 (diff)
downloadkutter-bcaf818c0e2bc6b92a579318b9ac97911d0104bf.tar.gz
kutter-bcaf818c0e2bc6b92a579318b9ac97911d0104bf.tar.xz
kutter-bcaf818c0e2bc6b92a579318b9ac97911d0104bf.zip
fan: Default to using software PWM
Not all hardware has PWM support and there is no compelling reason to use hardware PWM for fans. Change the default to use software PWM. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'config/example.cfg')
-rw-r--r--config/example.cfg7
1 files changed, 4 insertions, 3 deletions
diff --git a/config/example.cfg b/config/example.cfg
index afa14082..9037d919 100644
--- a/config/example.cfg
+++ b/config/example.cfg
@@ -219,11 +219,12 @@ max_temp: 110
pin: ar14
# PWM output pin controlling the fan. This parameter must be
# provided.
-hard_pwm: 1
+#hard_pwm: 0
# Set this value to force hardware PWM instead of software PWM. Set
# to 1 to force a hardware PWM at the fastest rate; set to a higher
-# number (eg, 1024) to force hardware PWM with the given cycle time
-# in clock ticks. The default is 128 clock ticks.
+# number to force hardware PWM with the given cycle time in clock
+# ticks. The default is 0 which enables software PWM with a cycle
+# time of 10ms.
#kick_start_time: 0.100
# Time (in seconds) to run the fan at full speed when first enabling
# it (helps get the fan spinning). The default is 0.100 seconds.