board/primus/led.c: Format with clang-format
BRANCH=none
TEST=none
static int tick;
-const enum ec_led_id supported_led_ids[] = {
- EC_LED_ID_BATTERY_LED,
- EC_LED_ID_POWER_LED
-};
+const enum ec_led_id supported_led_ids[] = { EC_LED_ID_BATTERY_LED,
+ EC_LED_ID_POWER_LED };
const int supported_led_ids_count = ARRAY_SIZE(supported_led_ids);
static void led_set_color_battery(enum ec_led_colors color)
@@ -197,10 +195,12 @@ static void suspend_led_update(void)
* A-cover and power button led are shared same
* behavior.
*/
- pwm_set_duty(PWM_CH_TKP_A_LED_N, (TICKS_STEP3_OFF
- - tick) * LED_BAT_S3_PWM_RESCALE);
- pwm_set_duty(PWM_CH_LED4, (TICKS_STEP3_OFF
- - tick) * LED_BAT_S3_PWM_RESCALE);
+ pwm_set_duty(PWM_CH_TKP_A_LED_N,
+ (TICKS_STEP3_OFF - tick) *
+ LED_BAT_S3_PWM_RESCALE);
+ pwm_set_duty(PWM_CH_LED4,
+ (TICKS_STEP3_OFF - tick) *
+ LED_BAT_S3_PWM_RESCALE);
msleep(LED_BAT_S3_TICK_MS);
} else {
tick = TICKS_STEP1_BRIGHTER;
