Fix cc2530 UART1 init bug

Fixes #286
This commit is contained in:
George Oikonomou 2013-08-09 16:05:48 +01:00
parent cb075dec65
commit 460d5bcb5d

View File

@ -55,7 +55,7 @@ uart1_init()
#endif #endif
U1CSR = UCSR_MODE; /* UART mode */ U1CSR = UCSR_MODE; /* UART mode */
U1UCR = 0x80; /* Flush */ U1UCR |= 0x80; /* Flush */
UART1_RX_INT(1); UART1_RX_INT(1);
U0DBUF = 0; U0DBUF = 0;