Skip to content

Commit

Permalink
Bugfixed the cc253x UART0 init (Thanks, Deng Jian)
Browse files Browse the repository at this point in the history
The flush instruction was resetting the stop bit level to 'low'
  • Loading branch information
g-oikonomou committed Jun 6, 2012
1 parent 26d7a8b commit 47db065
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpu/cc253x/dev/uart0.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ uart0_init()
#endif

U0CSR = UCSR_MODE; /* UART mode */
U0UCR = 0x80; /* Flush */
U0UCR |= 0x80; /* Flush */
UART0_RX_EN();

UART0_RX_INT(1);
Expand Down

0 comments on commit 47db065

Please sign in to comment.