diff options
author | Bill Richardson <wfrichar@chromium.org> | 2013-04-26 13:46:18 -0700 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-04-26 16:07:21 -0700 |
commit | df06f61cccd415e3d20d187b3438bd565b81c9c3 (patch) | |
tree | 727e1eaf76fac857ba74b41dfea5e1573daad457 /include | |
parent | 8bc24ec311d8c17cd543aa959847ad9a57438ce9 (diff) | |
download | chrome-ec-df06f61cccd415e3d20d187b3438bd565b81c9c3.tar.gz |
Split pwm.c into pwm_fan.c and pwm_kblight.c
Sadly, the existence of fans may not always imply the existence of keyboard
backlights.
BUG=chrome-os-partner:18825
BRANCH=slippy
TEST=manual
Use the Link EC console to make sure that both functions still behave.
faninfo
fanset 4400
faninfo
fanset 9999
faninfo
autofan
faninfo
fanduty 50
faninfo
fanduty 100
faninfo
autofan
kblight 0
kblight 100
kblight 50
kbligth 100
Change-Id: I2e07cd46c21bce2d0d4162275a8ea6ae40135e96
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/49355
Diffstat (limited to 'include')
-rw-r--r-- | include/pwm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/pwm.h b/include/pwm.h index 62faadea5b..bb6b5a8549 100644 --- a/include/pwm.h +++ b/include/pwm.h @@ -23,7 +23,7 @@ void pwm_enable_fan(int enable); * @param rpm_mode Enable (1) or disable (0) RPM control loop; when * disabled, fan duty cycle will be used. */ -void pwm_set_rpm_mode(int enable); +void pwm_set_fan_rpm_mode(int enable); /** * Get the current fan RPM. |