diff options
author | Scott Chao <scott_chao@wistron.corp-partner.google.com> | 2021-08-04 14:18:41 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-08-06 00:31:31 +0000 |
commit | 18350622d9c819537da60e96bb77fec82ca85308 (patch) | |
tree | 0a90c92c3d6d475c119c4a41c1f1a1c5e44be43f | |
parent | fdcb68158d455952067861e8c339f91c02fea441 (diff) | |
download | chrome-ec-18350622d9c819537da60e96bb77fec82ca85308.tar.gz |
gimble: enable ectool control battery led
We will use ectool led battery amber [white] to test if led is working.
BUG=b:193600290
BRANCH=none
TEST=make -j BOARD=gimble
TEST=led can turn on when use ectool control it.
Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Change-Id: I08dd9c1d13803a3aef4c27b42339acd3fb19d0b9
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3070326
Reviewed-by: caveh jalali <caveh@chromium.org>
-rw-r--r-- | board/gimble/led.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/board/gimble/led.c b/board/gimble/led.c index b095c1f742..924aa53aff 100644 --- a/board/gimble/led.c +++ b/board/gimble/led.c @@ -77,9 +77,6 @@ __override void led_set_color_battery(enum ec_led_colors color) led1_duty = led2_duty = led3_duty = led4_duty = BAT_LED_OFF_LVL; - if (!led_auto_control_is_enabled(EC_LED_ID_BATTERY_LED)) - return; - /* Check which port is the charging port, * and turn on the corresponding led. */ |