Merge pull request #947 from zwpaper/enableFlowControl

Fix the uart0 flow control register P0SEL setting in cpu cc253x
This commit is contained in:
George Oikonomou 2015-02-12 08:49:33 +01:00
commit 2f5db64b2b

View File

@ -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 */