diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2019-02-19 13:17:20 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2019-02-19 13:19:32 -0500 |
commit | 834b9e3d9267332875470dfb3e9fa0a9fb7bc936 (patch) | |
tree | 1544898fef89877d857a8337b6c26136aa71494a /config | |
parent | b260eb916863aa2dc1e632bdd164ee67c4675c68 (diff) | |
download | kutter-834b9e3d9267332875470dfb3e9fa0a9fb7bc936.tar.gz kutter-834b9e3d9267332875470dfb3e9fa0a9fb7bc936.tar.xz kutter-834b9e3d9267332875470dfb3e9fa0a9fb7bc936.zip |
config: Warn that cycle_time may not match when using hardware_pwm
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'config')
-rw-r--r-- | config/example-extras.cfg | 6 | ||||
-rw-r--r-- | config/example.cfg | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/config/example-extras.cfg b/config/example-extras.cfg index 5451eac5..806b5f7d 100644 --- a/config/example-extras.cfg +++ b/config/example-extras.cfg @@ -656,8 +656,10 @@ # this be 10 milliseconds or greater when using software based # PWM. The default is 0.100 seconds for pwm pins. #hardware_pwm: False -# Enable this to use hardware PWM instead of software PWM. The -# default is False. +# Enable this to use hardware PWM instead of software PWM. When +# using hardware PWM the actual cycle time is constrained by the +# implementation and may be significantly different than the +# requested cycle_time. The default is False. #scale: # This parameter can be used to alter how the 'value' and # 'shutdown_value' parameters are interpreted for pwm pins. If diff --git a/config/example.cfg b/config/example.cfg index f0e77e50..3468caeb 100644 --- a/config/example.cfg +++ b/config/example.cfg @@ -242,8 +242,10 @@ pin: ar9 # fan. It is recommended this be 10 milliseconds or greater when # using software based PWM. The default is 0.010 seconds. #hardware_pwm: False -# Enable this to use hardware PWM instead of software PWM. The -# default is False. +# Enable this to use hardware PWM instead of software PWM. When +# using hardware PWM the actual cycle time is constrained by the +# implementation and may be significantly different than the +# requested cycle_time. The default is False. #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. |