Bugfixed the cc253x UART0 init (Thanks, Deng Jian)

The flush instruction was resetting the stop bit level to 'low'
This commit is contained in:
George Oikonomou 2012-06-06 15:25:57 +01:00
parent 26d7a8b492
commit 47db065034
1 changed files with 1 additions and 1 deletions

View File

@ -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);