Bugfixed the cc253x UART0 init (Thanks, Deng Jian)
The flush instruction was resetting the stop bit level to 'low'
This commit is contained in:
parent
26d7a8b492
commit
47db065034
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue