From b4ee555d17194f59efbadd9c33b8076aaf0c6af6 Mon Sep 17 00:00:00 2001 From: Oleg Hahm <oleg@hobbykeller.org> Date: Wed, 24 Jul 2013 22:01:33 +0200 Subject: [PATCH] coding convention fixes --- msba2-common/board_common_init.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/msba2-common/board_common_init.c b/msba2-common/board_common_init.c index 7e4eb2c126..a437cce2b7 100644 --- a/msba2-common/board_common_init.c +++ b/msba2-common/board_common_init.c @@ -81,7 +81,8 @@ void init_clks1(void) pllfeed(); SCS |= 0x20; // Enable main OSC - while( !(SCS & 0x40) ); // Wait until main OSC is usable + + while (!(SCS & 0x40)); // Wait until main OSC is usable /* select main OSC, 16MHz, as the PLL clock source */ CLKSRCSEL = 0x0001; @@ -102,9 +103,10 @@ void init_clks1(void) #endif } -void init_clks2(void){ +void init_clks2(void) +{ // Wait for the PLL to lock to set frequency - while(!(PLLSTAT & BIT26)); + while (!(PLLSTAT & BIT26)); // Connect the PLL as the clock source PLLCON = 0x0003; -- GitLab