mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-02-22 06:29:01 +00:00
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
@ -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…
x
Reference in New Issue
Block a user