diff options
author | Daisuke Nojiri <dnojiri@chromium.org> | 2017-11-07 12:34:44 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-11-08 11:47:57 -0800 |
commit | 66546f8d3491bf961898eb981f2261220bb0ca2c (patch) | |
tree | 081989a8934f2dbfa478b18a258a410c613e08df /board/fizz | |
parent | 753247a659874a4bcbd206aa76caba23ebcf57b9 (diff) | |
download | chrome-ec-66546f8d3491bf961898eb981f2261220bb0ca2c.tar.gz |
Fizz: Blink LED faster when requesting more power
Fizz blinks the power LED to alert a user when power supply isn't
enough. This patch makes the blinking speed twice as fast (on:1sec,
off:1sec).
BUG=b:37646390
BRANCH=none
TEST=Verify the LED blinks as intended.
Change-Id: I017eaf36b91d987f4b03308b1e9ac8781e5f217d
Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/757557
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'board/fizz')
-rw-r--r-- | board/fizz/led.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/fizz/led.c b/board/fizz/led.c index f7f5de3988..9b6942d241 100644 --- a/board/fizz/led.c +++ b/board/fizz/led.c @@ -161,7 +161,7 @@ void led_alert(int enable) { if (enable) { /* Overwrite the current signal */ - CONFIG_TICK(LED_PULSE_US, LED_RED); + config_tick(1 * SECOND, 100, LED_RED); led_tick(); } else { /* Restore the previous signal */ |