chip/stm32/hwtimer32.c: Format with clang-format
BRANCH=none
TEST=none
@@ -285,9 +285,11 @@ void IRQ_HANDLER(IRQ_WD)(void)
"pop {r0,pc}\n");
}
const struct irq_priority __keep IRQ_PRIORITY(IRQ_WD)
- __attribute__((section(".rodata.irqprio")))
- = {IRQ_WD, 0}; /* put the watchdog at the highest
- priority */
+ __attribute__((section(".rodata.irqprio"))) = { IRQ_WD,
+ 0 }; /* put the watchdog
+ at the highest
+ priority
+ */
void hwtimer_setup_watchdog(void)
{
@@ -320,8 +322,7 @@ void hwtimer_setup_watchdog(void)
STM32_TIM_ARR(TIM_WATCHDOG) = CONFIG_AUX_TIMER_PERIOD_MS;
/* Update prescaler: watchdog timer runs at 1KHz */
- STM32_TIM_PSC(TIM_WATCHDOG) =
- (freq / SECOND * MSEC) - 1;
+ STM32_TIM_PSC(TIM_WATCHDOG) = (freq / SECOND * MSEC) - 1;
}
#ifdef CHIP_FAMILY_STM32L4
else {
