fork of VodafoneUSBModem with updated USBHost library

Dependencies:   Socket USBHost lwip-sys lwip

Dependents:   VodafoneUSBModemSMSTest

Revision:
10:21a6f09d5631
Parent:
8:04b6a042595f
Child:
22:06fb2a93a1f6
--- a/serial/io/IOSerialStream.cpp	Tue Jun 26 13:44:59 2012 +0000
+++ b/serial/io/IOSerialStream.cpp	Fri Jul 06 08:56:32 2012 +0000
@@ -55,7 +55,7 @@
   int ret = waitAvailable(timeout);
   if(ret)
   {
-    WARN("Error %d while waiting for incoming data");
+    WARN("Error %d while waiting for incoming data", ret);
     return ret;
   }
   int readLen = MIN( available(), maxLength );
@@ -146,7 +146,7 @@
   int ret = waitSpace(timeout);
   if(ret)
   {
-    WARN("Error %d while waiting for space");
+    WARN("Error %d while waiting for space", ret);
     return ret;
   }
   DBG("Writing %d chars", length);
@@ -163,7 +163,7 @@
       ret = waitSpace(timeout);
       if(ret)
       {
-        WARN("Error %d while waiting for space");
+        WARN("Error %d while waiting for space", ret);
         return ret;
       }
       setupWriteableISR(false);