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 Erik -

Files at this revision

API Documentation at this revision

Comitter:
stefanrousseau
Date:
Mon Aug 01 23:30:57 2016 +0000
Parent:
41:d8422efe4761
Commit message:
Commented out ; bool MODSERIAL::claim (FILE *stream); because it gives errors with the latest mbed library

Changed in this revision

MODSERIAL.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r d8422efe4761 -r ae4c4f174d1f MODSERIAL.cpp
--- a/MODSERIAL.cpp	Tue Nov 17 12:11:44 2015 -0300
+++ b/MODSERIAL.cpp	Mon Aug 01 23:30:57 2016 +0000
@@ -94,6 +94,7 @@
 
 
 bool MODSERIAL::claim (FILE *stream) {
+#if(0)
     if ( _name == NULL) {
         error("claim requires a name to be given in the instantiator of the MODSERIAL instance!\r\n");
     }
@@ -111,6 +112,7 @@
     
     //No buffering
     setvbuf(stdout, NULL, _IONBF, buffer_size[TxIrq]);
+#endif    
     return true;
 }