MODSERIAL with support for more devices. Added support for LPC4330

Dependents:   HC05_AT_mode GPS_U-blox_NEO-6M_Test_Code GPS_U-blox_NEO-6M_Code UbloxGPSWithThread ... more

Fork of MODSERIAL by Erik -

Revision:
33:a65f89de75c5
Parent:
28:76793a84f9e5
--- 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