Skip to content

Commit

Permalink
Fix cc2530 UART1 init bug
Browse files Browse the repository at this point in the history
Fixes #286
  • Loading branch information
g-oikonomou committed Aug 9, 2013
1 parent cb075de commit 460d5bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpu/cc253x/dev/uart1.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ uart1_init()
#endif

U1CSR = UCSR_MODE; /* UART mode */
U1UCR = 0x80; /* Flush */
U1UCR |= 0x80; /* Flush */

UART1_RX_INT(1);
U0DBUF = 0;
Expand Down

0 comments on commit 460d5bc

Please sign in to comment.