summaryrefslogtreecommitdiff
path: root/board/corori2
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2022-06-27 13:28:30 -0600
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-06-28 06:44:40 +0000
commitb4e3d8bf00238ebab828ea563e94f4c6e7966662 (patch)
treed849c0c0a768d90d58c56b12595021ea0c3ee3a2 /board/corori2
parent9edf64f19cb510f7505751586bef08c46969a6c0 (diff)
downloadchrome-ec-b4e3d8bf00238ebab828ea563e94f4c6e7966662.tar.gz
board/corori2/led.c: Format with clang-format
BUG=b:236386294 BRANCH=none TEST=none Change-Id: Ia7d0efe110a93cd43c6dda779966c89779988c61 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3728165 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'board/corori2')
-rw-r--r--board/corori2/led.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/board/corori2/led.c b/board/corori2/led.c
index 3c27bf0f8e..1df2e00a5b 100644
--- a/board/corori2/led.c
+++ b/board/corori2/led.c
@@ -20,13 +20,10 @@ const int supported_led_ids_count = ARRAY_SIZE(supported_led_ids);
* both LEDs being off.
*/
struct pwm_led_color_map led_color_map[EC_LED_COLOR_COUNT] = {
- /* Amber, White */
- [EC_LED_COLOR_RED] = { 0, 0 },
- [EC_LED_COLOR_GREEN] = { 0, 0 },
- [EC_LED_COLOR_BLUE] = { 0, 0 },
- [EC_LED_COLOR_YELLOW] = { 0, 0 },
- [EC_LED_COLOR_WHITE] = { 0, 100 },
- [EC_LED_COLOR_AMBER] = { 100, 0 },
+ /* Amber, White */
+ [EC_LED_COLOR_RED] = { 0, 0 }, [EC_LED_COLOR_GREEN] = { 0, 0 },
+ [EC_LED_COLOR_BLUE] = { 0, 0 }, [EC_LED_COLOR_YELLOW] = { 0, 0 },
+ [EC_LED_COLOR_WHITE] = { 0, 100 }, [EC_LED_COLOR_AMBER] = { 100, 0 },
};
/* One logical LED with amber and white channels. */