diff options
author | Jeank Li <lijun7@huaqin.com> | 2015-07-29 21:49:29 +0800 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-07-30 18:32:49 +0000 |
commit | d89f2a0eb1ca168ce69d4791af7f5457db76bf63 (patch) | |
tree | f90baa9dfd043219d7f3af0083949a71836412ac | |
parent | cd98f40ea90752551f28b44366102260976d4af6 (diff) | |
download | chrome-ec-d89f2a0eb1ca168ce69d4791af7f5457db76bf63.tar.gz |
Heli: Modify the AC LED color to green when the battery has a full
charge or near the full charge.
BUG=chrome-os-partner:43393
BRANCH=heli
TEST=1.Run "make buildall -j" or "emerge-heli chromeos-ec" to build code
and generate the ec.bin .
2.Find a DUT with a full charge battery and set the gbb to 0x239.
3.Use the command "flashrom -p ec -w ec.bin" to flash the ec.bin
on the DUT,reboot and check the AC LED color.
Signed-off-by: Jeank Li <lijun7@huaqin.com>
Change-Id: Ifd059047429b1811505ee8060b3096cd896a91e4
Reviewed-on: https://chromium-review.googlesource.com/289166
Reviewed-by: Mohammed Habibulla <moch@google.com>
Reviewed-by: 俊 李 <lijun7@huaqin.com>
Commit-Queue: 俊 李 <lijun7@huaqin.com>
Tested-by: 俊 李 <lijun7@huaqin.com>
-rw-r--r-- | board/heli/led.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/heli/led.c b/board/heli/led.c index dc545d98da..86b66fa610 100644 --- a/board/heli/led.c +++ b/board/heli/led.c @@ -18,10 +18,10 @@ const int supported_led_ids_count = ARRAY_SIZE(supported_led_ids); enum led_color { LED_OFF = 0, - LED_RED, + LED_GREEN, LED_ORANGE, LED_YELLOW, - LED_GREEN, + LED_RED, /* Number of colors, not a color itself */ LED_COLOR_COUNT |