Commented out the body of bool MODSERIAL::claim (FILE *stream) since it causes problems with the latest mbed library
Dependents: ATT_Cellular_IOT_Button Avnet_ATT_Cellular_Pubnub Hiking_Pal Avnet_ATT_Cellular_IOT ... more
Fork of MODSERIAL by
Diff: ISR_RX.cpp
- Revision:
- 2:b936b4acbd92
- Parent:
- 0:eb2522b41db8
- Child:
- 4:28de979b77cf
diff -r b7e435fbfe8e -r b936b4acbd92 ISR_RX.cpp --- a/ISR_RX.cpp Sun Nov 21 02:15:07 2010 +0000 +++ b/ISR_RX.cpp Sun Nov 21 03:31:51 2010 +0000 @@ -28,7 +28,9 @@ void MODSERIAL::isr_rx(void) { - if (_base) { + if (! _base ) return; + + if ( dmaInUse[RxIrq] == NotInUse ) { while( MODSERIAL_RBR_HAS_DATA ) { rxc = (char)(_RBR & 0xFF); if ( MODSERIAL_RX_BUFFER_FULL ) {