diff options
author | jerry2.huang <jerry2.huang@lcfc.corp-partner.google.com> | 2021-01-26 17:05:30 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-02-01 08:28:41 +0000 |
commit | b7043cbd98fc5889bfbd6ef607f95334cb827c08 (patch) | |
tree | 32228784c67ee34a8f25110557de3d21871e86ed /board/lindar/gpio.inc | |
parent | d135e6ef07da3dc1daff345e5f95da49bf3f7b90 (diff) | |
download | chrome-ec-b7043cbd98fc5889bfbd6ef607f95334cb827c08.tar.gz |
lindar: modify led behavior
1.LED color:
LED_1_L color change to green
LED_2_L color change to red
2.Modify led behavior
BUG=b:174443628
BRANCH=firmware-volteer-13672.B
TEST=make buildall ,Verify "green LED at full charge,
amber during charging,red during charging/low battery,
LED off at discharge,red led blink at battery error"
the led behavior is normally.
Signed-off-by: jerry2.huang <jerry2.huang@lcfc.corp-partner.google.com>
Change-Id: I74b6a83d2a252001baa76584ab7f5e58b1129358
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2657904
Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'board/lindar/gpio.inc')
-rw-r--r-- | board/lindar/gpio.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/lindar/gpio.inc b/board/lindar/gpio.inc index 50d4eb1b4a..b60fb75717 100644 --- a/board/lindar/gpio.inc +++ b/board/lindar/gpio.inc @@ -128,8 +128,8 @@ GPIO(EC_I2C7_EEPROM_SDA, PIN(B, 2), GPIO_INPUT) GPIO(EC_BATT_PRES_ODL, PIN(E, 1), GPIO_INPUT) /* LED */ -GPIO(LED_1_L, PIN(C, 4), GPIO_OUT_HIGH) /* Battery - White LED */ -GPIO(LED_2_L, PIN(C, 3), GPIO_OUT_HIGH) /* Battery - Amber LED */ +GPIO(LED_1_L, PIN(C, 4), GPIO_OUT_HIGH) /* Battery - Green LED */ +GPIO(LED_2_L, PIN(C, 3), GPIO_OUT_HIGH) /* Battery - Red LED */ GPIO(LED_3_L, PIN(C, 2), GPIO_OUT_HIGH) /* Power - White LED */ /* Alternate functions GPIO definitions */ |