MODSERIAL with support for more devices
Fork of MODSERIAL by
Diff: Device/MODSERIAL_LPC1768.cpp
- Revision:
- 33:a65f89de75c5
- Parent:
- 28:76793a84f9e5
- Child:
- 43:8c8d13e1840b
diff -r f42def64c4ee -r a65f89de75c5 Device/MODSERIAL_LPC1768.cpp --- a/Device/MODSERIAL_LPC1768.cpp Sat Oct 12 09:53:06 2013 +0000 +++ b/Device/MODSERIAL_LPC1768.cpp Sun May 11 19:28:04 2014 +0000 @@ -18,7 +18,7 @@ bool MODSERIAL::txIsBusy( void ) { - return ( ((LPC_UART_TypeDef*)_base)->LSR & ( 3UL << 5 ) == 0 ) ? true : false; + return ( (((LPC_UART_TypeDef*)_base)->LSR & ( 1UL << 6 )) == 0 ) ? true : false; } #endif