mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
remove cruft from msb-430-common board_init
useless comment, commented out assignment and some newlines
This commit is contained in:
parent
7caf7881a2
commit
4b0220ea35
@ -153,14 +153,10 @@ void msp430_init_dco(void)
|
||||
|
||||
BCSCTL2 = SELM_2 + SELS; /* MCLK und SMCLK = XT2 (safe) */
|
||||
#else
|
||||
/* Thdeltais code taken from the FU Berlin sources and reformatted. */
|
||||
int delta = __msp430_cpu_speed >> 12;
|
||||
//#define DELTA 600
|
||||
|
||||
unsigned int compare, oldcapture = 0;
|
||||
unsigned int i;
|
||||
|
||||
|
||||
BCSCTL1 = 0xa4; /* ACLK is devided by 4. RSEL=6 no division for MCLK
|
||||
and SSMCLK. XT2 is off. */
|
||||
|
||||
@ -181,7 +177,6 @@ void msp430_init_dco(void)
|
||||
|
||||
|
||||
while (1) {
|
||||
|
||||
while ((CCTL2 & CCIFG) != CCIFG); /* Wait until capture occured! */
|
||||
|
||||
CCTL2 &= ~CCIFG; /* Capture occured, clear flag */
|
||||
|
Loading…
Reference in New Issue
Block a user