Skip to content
Snippets Groups Projects
Commit 69f37863 authored by Adrian Danis's avatar Adrian Danis
Browse files

Trivial: style

parent 7bd0da55
No related branches found
No related tags found
No related merge requests found
......@@ -327,15 +327,17 @@ enableTimers(void)
/* XXX repeat this for DMTIMER4..7 */
/* select clock */
*CMPER_REG(cmper, CMPER_CLKSEL_TIMER3) = CMPER_CKLSEL_MOSC;
while((*CMPER_REG(cmper, CMPER_CLKSEL_TIMER3) & 3) != CMPER_CKLSEL_MOSC)
while ((*CMPER_REG(cmper, CMPER_CLKSEL_TIMER3) & 3) != CMPER_CKLSEL_MOSC) {
continue;
}
/* enable clock */
*CMPER_REG(cmper, CMPER_TIMER3_CLKCTRL) = CMPER_CLKCTRL_ENABLE;
while((*CMPER_REG(cmper, CMPER_TIMER3_CLKCTRL) & 3) != CMPER_CLKCTRL_ENABLE)
while ((*CMPER_REG(cmper, CMPER_TIMER3_CLKCTRL) & 3) != CMPER_CLKCTRL_ENABLE) {
continue;
}
}
/* Configure dmtimer0 as kernel preemption timer */
/**
DONT_TRANSLATE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment