summaryrefslogtreecommitdiff
path: root/board/coachz/led.c
diff options
context:
space:
mode:
authorWai-Hong Tam <waihong@google.com>2020-09-14 15:16:33 -0700
committerCommit Bot <commit-bot@chromium.org>2020-09-17 01:47:17 +0000
commit6e31d6a118d877ea53bef6d15016608bfee26583 (patch)
tree54e703ddb276f40faccbcb62bf7be97b1fcef565 /board/coachz/led.c
parentdfa1d9370950aeae0a28aebe1aa0d6cec25ef707 (diff)
downloadchrome-ec-6e31d6a118d877ea53bef6d15016608bfee26583.tar.gz
Coachz: Reflect the GPIO change
Rename the GPIOs to reflect the netnames. Add the GPIOs for the hall sensors, not implemented yet. Add the GPIOs for the base detection, not implemented yet. Add the GPIOs and I2C bus for the stylus, not implemented yet. BRANCH=None BUG=b:167884598 TEST=Built the Coachz image. Change-Id: If30e00d8ede0b6ca2e9a4f9efe474c22a8a16933 Signed-off-by: Wai-Hong Tam <waihong@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2411507 Reviewed-by: Bob Moragues <moragues@chromium.org> Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Diffstat (limited to 'board/coachz/led.c')
-rw-r--r--board/coachz/led.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/coachz/led.c b/board/coachz/led.c
index f9c91c1c6a..45a90b157d 100644
--- a/board/coachz/led.c
+++ b/board/coachz/led.c
@@ -39,7 +39,7 @@ static void led_set_color(enum led_color color)
{
gpio_set_level(GPIO_EC_CHG_LED_Y_C1,
(color == LED_AMBER) ? BAT_LED_ON : BAT_LED_OFF);
- gpio_set_level(GPIO_EC_CHG_LED_B_C1,
+ gpio_set_level(GPIO_EC_CHG_LED_W_C1,
(color == LED_BLUE) ? BAT_LED_ON : BAT_LED_OFF);
}