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