diff options
author | Boris Mittelberg <bmbm@google.com> | 2021-06-02 06:23:31 +0000 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-06-02 08:13:21 +0000 |
commit | 57e98b2a981d5bb208158c3a9f7477a8d199342b (patch) | |
tree | df227fd83e5c4e9862c2a8442a422241650876e5 | |
parent | 1d25e5e69e83cb9420594ca1f953f07553106367 (diff) | |
download | chrome-ec-57e98b2a981d5bb208158c3a9f7477a8d199342b.tar.gz |
brya: LED comments improvement
Fix typo, add functional description
BRANCH=none
BUG=b:182329831
TEST=none (changed comments only)
Signed-off-by: Boris Mittelberg <bmbm@google.com>
Change-Id: Ie36b39291bd0111412fea3b5d3bf963517cf1da3
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2932418
Reviewed-by: caveh jalali <caveh@chromium.org>
Commit-Queue: caveh jalali <caveh@chromium.org>
-rw-r--r-- | board/brya/led.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/board/brya/led.c b/board/brya/led.c index 09f815efc2..aa8da52778 100644 --- a/board/brya/led.c +++ b/board/brya/led.c @@ -3,7 +3,11 @@ * found in the LICENSE file. */ -/* Waddledoo specific PWM LED settings. */ +/* Brya specific PWM LED settings: there are 2 LEDs on each side of the board, + * each one can be controlled separately. The LED colors are white or amber, + * and the default behavior is tied to the charging process: both sides are + * amber while charging the battery and white when the battery is charged. + */ #include "common.h" #include "ec_commands.h" @@ -19,7 +23,7 @@ const enum ec_led_id supported_led_ids[] = { const int supported_led_ids_count = ARRAY_SIZE(supported_led_ids); /* - * We only have a white and an amber LED, so setting any other colour results in + * We only have a white and an amber LED, so setting any other color results in * both LEDs being off. */ struct pwm_led led_color_map[EC_LED_COLOR_COUNT] = { |