aboutsummaryrefslogtreecommitdiffstats
path: root/config/example.cfg
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2018-04-20 13:15:03 -0400
committerKevin O'Connor <kevin@koconnor.net>2018-04-20 13:15:03 -0400
commit85e6cd865c7e6e053971cac456155e5fbd97ccd6 (patch)
tree6f30ac3573561d58cb87a2ee0fe8847e705b149c /config/example.cfg
parent48e9fa04e78e4c57fbd558281170d16ab357377f (diff)
downloadkutter-85e6cd865c7e6e053971cac456155e5fbd97ccd6.tar.gz
kutter-85e6cd865c7e6e053971cac456155e5fbd97ccd6.tar.xz
kutter-85e6cd865c7e6e053971cac456155e5fbd97ccd6.zip
fan: Scale fan speed requests between 0 and max_power
If the fan's max power is limited by the config, then scale speed requests between 0 and max_power. This makes more sense for typical g-code fan speeds. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'config/example.cfg')
-rw-r--r--config/example.cfg5
1 files changed, 4 insertions, 1 deletions
diff --git a/config/example.cfg b/config/example.cfg
index aacd4c99..f4c7029b 100644
--- a/config/example.cfg
+++ b/config/example.cfg
@@ -224,7 +224,10 @@ pin: ar9
# enabled for extended periods, while a value of 0.5 would allow the
# pin to be enabled for no more than half the time. This setting may
# be used to limit the total power output (over extended periods) to
-# the fan. The default is 1.0.
+# the fan. If this value is less than 1.0 then fan speed requests
+# will be scaled between zero and max_power (for example, if
+# max_power is .9 and a fan speed of 80% is requested then the fan
+# power will be set to 72%). The default is 1.0.
#cycle_time: 0.010
# The amount of time (in seconds) for each PWM power cycle to the
# fan. It is recommended this be 10 milliseconds or greater when