Skip to content

Commit

Permalink
boards/telosb: fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
kaspar030 committed Nov 23, 2019
1 parent be61dbe commit 02b1cf1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions boards/telosb/board.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,14 @@ void msp430_init_dco(void)
}

CCTL2 = CCIS0 + CM0 + CAP; /* Define CCR2, CAP, ACLK */
TACTL = TASSEL1 + TACLR + MC1; /* SMCLK, continous mode */
TACTL = TASSEL1 + TACLR + MC1; /* SMCLK, continuous mode */

while (1) {
unsigned int compare;

while ((CCTL2 & CCIFG) != CCIFG); /* Wait until capture occured!*/
while ((CCTL2 & CCIFG) != CCIFG); /* Wait until capture occurred!*/

CCTL2 &= ~CCIFG; /* Capture occured, clear flag */
CCTL2 &= ~CCIFG; /* Capture occurred, clear flag */
compare = CCR2; /* Get current captured SMCLK */
compare = compare - oldcapture; /* SMCLK difference */
oldcapture = CCR2; /* Save current captured SMCLK */
Expand Down
2 changes: 1 addition & 1 deletion boards/telosb/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
/**
* @ingroup boards_telosb
*
* <h2>Compontents</h2>
* <h2>Components</h2>
* \li MSP430
* \li CC2420
*
Expand Down

0 comments on commit 02b1cf1

Please sign in to comment.