summaryrefslogtreecommitdiff
path: root/board/dooly
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2022-06-27 13:31:08 -0600
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-07-01 12:44:58 +0000
commit7da9f0402ed27c5892aab5a7dd6a4370b1c92964 (patch)
tree6ae8a45dce6d03851144704815392bc877db0733 /board/dooly
parent848ebe5e2f14f1bbf5c3b7f0fd10e950901ea208 (diff)
downloadchrome-ec-7da9f0402ed27c5892aab5a7dd6a4370b1c92964.tar.gz
board/dooly/led.c: Format with clang-format
BUG=b:236386294 BRANCH=none TEST=none Change-Id: Ic7a0f081ee1d563aeef0bb4d55b79069cb133d29 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3726418 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'board/dooly')
-rw-r--r--board/dooly/led.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/board/dooly/led.c b/board/dooly/led.c
index fefa8908fe..c8f0405260 100644
--- a/board/dooly/led.c
+++ b/board/dooly/led.c
@@ -19,16 +19,16 @@
#include "timer.h"
#include "util.h"
-#define CPRINTS(format, args...) cprints(CC_GPIO, format, ## args)
+#define CPRINTS(format, args...) cprints(CC_GPIO, format, ##args)
/*
* Due to the CSME-Lite processing, upon startup the CPU transitions through
* S0->S3->S5->S3->S0, causing the LED to turn on/off/on, so
* delay turning off the LED during suspend/shutdown.
*/
-#define LED_CPU_DELAY_MS (2000 * MSEC)
+#define LED_CPU_DELAY_MS (2000 * MSEC)
-const enum ec_led_id supported_led_ids[] = {EC_LED_ID_POWER_LED};
+const enum ec_led_id supported_led_ids[] = { EC_LED_ID_POWER_LED };
const int supported_led_ids_count = ARRAY_SIZE(supported_led_ids);
enum led_color {
@@ -88,9 +88,9 @@ static int set_color(enum ec_led_id id, enum led_color color, int duty)
}
}
-#define LED_PULSE_US (2 * SECOND)
+#define LED_PULSE_US (2 * SECOND)
/* 40 msec for nice and smooth transition. */
-#define LED_PULSE_TICK_US (40 * MSEC)
+#define LED_PULSE_TICK_US (40 * MSEC)
/* When pulsing is enabled, brightness is incremented by <duty_inc> every
* <interval> usec from 0 to 100% in LED_PULSE_US usec. Then it's decremented