mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +00:00
Fix the uart0 flow control register P0SEL setting in cpu cc253x
This commit is contained in:
parent
6fb7dd238e
commit
cd4322cec2
@ -39,7 +39,7 @@ uart0_init()
|
||||
#else
|
||||
PERCFG &= ~PERCFG_U0CFG; /* alternative port 1 = P0.5-2 */
|
||||
#ifdef UART0_RTSCTS
|
||||
P0SEL |= 0x20 | 0x10; /* peripheral select for TX and RX */
|
||||
P0SEL |= 0x3C; /* peripheral select for RTS and CTS, TX, RX */
|
||||
#else
|
||||
P0SEL |= 0x0C; /* peripheral select for TX and RX */
|
||||
P0 &= ~0x20; /* RTS down */
|
||||
|
Loading…
Reference in New Issue
Block a user