diff options
author | Zick Wei <zick.wei@quanta.corp-partner.google.com> | 2018-09-12 19:49:00 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-09-20 05:15:20 -0700 |
commit | dd818f7e1b80611f8a6ccf3a79f46e1b952db742 (patch) | |
tree | 0a60cb1c29536be1fcdd9a71ccca924153c2790f /board/fleex/led.c | |
parent | efa5d1dac544db64d0df45db31493c0f5d26dc2c (diff) | |
download | chrome-ec-dd818f7e1b80611f8a6ccf3a79f46e1b952db742.tar.gz |
meep: Add clamshell Suspend LED Behavior
Meep and Mimrock use same mother board,
Mimrock is clamshell sku only have Charge LED.
To meet LED spec:
System without Power LED, Suspend/S0ix without charge
blink White on Charge LED(1 sec on, 1 sec off).
BUG=none
BRANCH=none
TEST=manual
Set cbi sku id to clamshell sku,
Check Charge LED will blink(1 sec on, 1 sec off),
when system is Suspend/S0ix without charge.
Change-Id: Ib443d6176d929aad4b65c1cb0d4b40c102e6f67e
Signed-off-by: Zick Wei <zick.wei@quanta.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/1226830
Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'board/fleex/led.c')
-rw-r--r-- | board/fleex/led.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/board/fleex/led.c b/board/fleex/led.c index 5911f36551..a58def114a 100644 --- a/board/fleex/led.c +++ b/board/fleex/led.c @@ -18,8 +18,7 @@ const int led_charge_lvl_1 = 10; const int led_charge_lvl_2 = 100; /* Fleex: Note there is only LED for charge / power */ -const struct led_descriptor - led_bat_state_table[LED_NUM_STATES][LED_NUM_PHASES] = { +struct led_descriptor led_bat_state_table[LED_NUM_STATES][LED_NUM_PHASES] = { [STATE_CHARGING_LVL_1] = {{EC_LED_COLOR_AMBER, 1 * LED_ONE_SEC}, {LED_OFF, 1 * LED_ONE_SEC} }, [STATE_CHARGING_LVL_2] = {{EC_LED_COLOR_AMBER, LED_INDEFINITE} }, |