board/zinger/runtime.c: Format with clang-format
BRANCH=none
TEST=none
@@ -177,8 +177,8 @@ uint32_t task_wait_event(int timeout_us)
/* set deep sleep bit */
CPU_SCB_SYSCTRL |= 0x4;
- set_rtc_alarm(0, timeout_us - STOP_MODE_LATENCY,
- &rtc0, 0);
+ set_rtc_alarm(0, timeout_us - STOP_MODE_LATENCY, &rtc0,
+ 0);
asm volatile("wfi");
@@ -233,8 +233,7 @@ uint32_t task_wait_event_mask(uint32_t event_mask, int timeout_us)
return evt & event_mask;
}
-noreturn
-void __keep cpu_reset(void)
+noreturn void __keep cpu_reset(void)
{
/* Disable interrupts */
interrupt_disable();
@@ -267,7 +266,8 @@ void exception_panic(void)
"bl debug_printf\n"
#endif
"bl cpu_reset\n"
- : : "r"("PANIC PC=%08x LR=%08x\n\n"));
+ :
+ : "r"("PANIC PC=%08x LR=%08x\n\n"));
}
void panic_reboot(void)
@@ -286,7 +286,9 @@ enum ec_image system_get_image_copy(void)
/* --- stubs --- */
void __hw_timer_enable_clock(int n, int enable)
-{ /* Done in hardware init */ }
+{ /* Done in hardware init */
+}
void usleep(unsigned us)
-{ /* Used only as a workaround */ }
+{ /* Used only as a workaround */
+}
