diff options
author | Edward Hill <ecgh@chromium.org> | 2018-11-20 15:06:33 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-11-21 01:25:12 -0800 |
commit | 0e34395717cffd7c87455c2c34d0e5121027a0e1 (patch) | |
tree | 9334fc4020726f832a3c51f7a6ff1ad53b00424b | |
parent | 0c28fa95119487b51be5aa189060333f8da0c817 (diff) | |
download | chrome-ec-0e34395717cffd7c87455c2c34d0e5121027a0e1.tar.gz |
liara: Use CONFIG_LED_PWM_CHARGE_STATE_ONLY
Liara only has a single LED on one side, and it should show only the
charge state (instead of including chipset state and low battery state
as well).
Change from CONFIG_LED_PWM_ACTIVE_CHARGE_PORT_ONLY to use the newly
added CONFIG_LED_PWM_CHARGE_STATE_ONLY.
BUG=b:119746227
BRANCH=grunt
TEST=Liara LED is on when charging from either side.
Change-Id: If71339be836037a88eb17933ba1a817bd10d5002
Signed-off-by: Edward Hill <ecgh@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1344796
Tested-by: Josh Tsai <josh_tsai@compal.corp-partner.google.com>
Reviewed-by: Diana Z <dzigterman@chromium.org>
-rw-r--r-- | board/liara/board.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/liara/board.h b/board/liara/board.h index ec6ed71a0e..f1829c5e58 100644 --- a/board/liara/board.h +++ b/board/liara/board.h @@ -20,7 +20,7 @@ /* Power and battery LEDs */ #define CONFIG_LED_COMMON -#define CONFIG_LED_PWM_ACTIVE_CHARGE_PORT_ONLY +#define CONFIG_LED_PWM_CHARGE_STATE_ONLY #define CONFIG_CMD_LEDTEST #undef CONFIG_LED_PWM_NEAR_FULL_COLOR |