diff options
author | Jacky Wang <jacky5_wang@pegatron.corp-partner.google.com> | 2021-03-05 14:52:58 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-03-08 03:02:50 +0000 |
commit | 0882c1dbd93a4298c08ed9eec7f7216c59c1298f (patch) | |
tree | 9bc499047b554e2ffd5210666d868e0fcbbb9f74 /board/drobit | |
parent | a9bed6083027bcc08376c911f2398f5704d358e1 (diff) | |
download | chrome-ec-0882c1dbd93a4298c08ed9eec7f7216c59c1298f.tar.gz |
drobit: Update LED behavior function
Update LED behavior by Marketing spec.
Modify DC mode S3 LED behavior to blinking white LED 1s on / 3s off.
BUG=b:174924448
BRANCH=firmware-volteer-13672.B
TEST=make BOARD=drobit
Check LED behavior in S3 with DC mode.
Signed-off-by: Jacky Wang <jacky5_wang@pegatron.corp-partner.google.com>
Change-Id: I0cade36794b09d40b2247d692fa72aee949daa23
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2738501
Reviewed-by: Michael5 Chen <michael5_chen1@pegatron.corp-partner.google.com>
Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'board/drobit')
-rw-r--r-- | board/drobit/led.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/drobit/led.c b/board/drobit/led.c index 5dd802215e..b9178670d3 100644 --- a/board/drobit/led.c +++ b/board/drobit/led.c @@ -22,8 +22,8 @@ struct led_descriptor led_bat_state_table[LED_NUM_STATES][LED_NUM_PHASES] = { [STATE_DISCHARGE_S0] = {{EC_LED_COLOR_WHITE, LED_INDEFINITE} }, [STATE_DISCHARGE_S0_BAT_LOW] = {{EC_LED_COLOR_AMBER, 1 * LED_ONE_SEC}, {LED_OFF, 3 * LED_ONE_SEC} }, - [STATE_DISCHARGE_S3] = {{EC_LED_COLOR_WHITE, 2 * LED_ONE_SEC}, - {LED_OFF, 2 * LED_ONE_SEC} }, + [STATE_DISCHARGE_S3] = {{EC_LED_COLOR_WHITE, 1 * LED_ONE_SEC}, + {LED_OFF, 3 * LED_ONE_SEC} }, [STATE_DISCHARGE_S5] = {{LED_OFF, LED_INDEFINITE} }, [STATE_BATTERY_ERROR] = {{EC_LED_COLOR_AMBER, 1 * LED_ONE_SEC}, {LED_OFF, 1 * LED_ONE_SEC} }, |