diff options
author | Scott Collyer <scollyer@google.com> | 2017-10-26 17:48:35 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-10-31 13:04:59 -0700 |
commit | aaad9667d385da059d80013b30704b402c43d549 (patch) | |
tree | 3ea5978f5470a8e7807094fd8238dd04f06a6e57 /board/coral/led.c | |
parent | 19f96191d35d373957725704430405b7211657e7 (diff) | |
download | chrome-ec-aaad9667d385da059d80013b30704b402c43d549.tar.gz |
coral: Fix default LED table for discharge in S3 state
The default behavior for this state is the charge color for 1 second
and then off for 3 seconds. The existing table entry for this state
was incorrect.
BUG=b:67759004
BRANCH=none
TEST=Verfied that in S3 state the pattern is 1 second charging color
followed by 3 seconds off.
Change-Id: I838cdb34a23cd9224761bd7f16a3a1d9cb980fd6
Signed-off-by: Scott Collyer <scollyer@google.com>
Reviewed-on: https://chromium-review.googlesource.com/741076
Commit-Ready: Scott Collyer <scollyer@chromium.org>
Tested-by: Scott Collyer <scollyer@chromium.org>
Reviewed-by: Patrick Georgi <pgeorgi@chromium.org>
Diffstat (limited to 'board/coral/led.c')
-rw-r--r-- | board/coral/led.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/coral/led.c b/board/coral/led.c index 6e26177522..e196bd8334 100644 --- a/board/coral/led.c +++ b/board/coral/led.c @@ -89,7 +89,7 @@ static const struct led_descriptor led_default_state_table[][LED_NUM_PHASES] = { { {LED_COLOR_2, LED_INDEFINITE}, {LED_COLOR_1, LED_INDEFINITE} }, { {LED_COLOR_2, LED_INDEFINITE}, {LED_OFF, LED_INDEFINITE} }, { {LED_COLOR_2, LED_INDEFINITE}, {LED_OFF, LED_INDEFINITE} }, - { {LED_COLOR_2, LED_INDEFINITE}, {LED_OFF, LED_INDEFINITE} }, + { {LED_COLOR_1, 1 * LED_ONE_SEC }, {LED_OFF, 3 * LED_ONE_SEC} }, { {LED_OFF, LED_INDEFINITE}, {LED_OFF, LED_INDEFINITE} }, { {LED_COLOR_1, 1 * LED_ONE_SEC}, {LED_COLOR_2, 1 * LED_ONE_SEC} }, { {LED_COLOR_1, 2 * LED_ONE_SEC}, {LED_COLOR_2, 2 * LED_ONE_SEC} }, |