summaryrefslogtreecommitdiff
path: root/common/blink.c
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2022-06-27 14:34:05 -0600
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-06-29 07:46:07 +0000
commit54e5d57c65de57d32cd1606ee0f418abda349490 (patch)
tree4cc10e6893fb7b530135d1d8f01c264af6d4611f /common/blink.c
parent2f9ad3878c0c4c90a5f44cf41823efc27c170795 (diff)
downloadchrome-ec-54e5d57c65de57d32cd1606ee0f418abda349490.tar.gz
common/blink.c: Format with clang-format
BUG=b:236386294 BRANCH=none TEST=none Change-Id: Iafe8755f0f1cc496629ff2149477c012bd19dbbd Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3729592 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'common/blink.c')
-rw-r--r--common/blink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/blink.c b/common/blink.c
index ed16146f5a..22523021dc 100644
--- a/common/blink.c
+++ b/common/blink.c
@@ -10,12 +10,12 @@
#include "hooks.h"
#ifndef CONFIG_BLINK_LEDS
- #error The macro CONFIG_BLINK_LEDS must be specified to use BLINK.
+#error The macro CONFIG_BLINK_LEDS must be specified to use BLINK.
#endif
static const enum gpio_signal leds[] = { CONFIG_BLINK_LEDS };
-BUILD_ASSERT(ARRAY_SIZE(leds) <= sizeof(int)*8, "Too many LEDs to drive.");
+BUILD_ASSERT(ARRAY_SIZE(leds) <= sizeof(int) * 8, "Too many LEDs to drive.");
BUILD_ASSERT(ARRAY_SIZE(leds) > 0, "Must have at least one LED to blink.");
static void blink(void)