whatever

Dependencies:   C027 C027_Support M2XStreamClient PowerControl jsonlite mbed-rtos mbed

Fork of PONY_Ph0-uAXIS by Sean McBeath

Revision:
24:81f5b43a6585
Parent:
22:078f410ef2c7
Child:
27:fe3b383dd4ec
--- a/main.cpp	Fri Jun 06 15:01:52 2014 +0000
+++ b/main.cpp	Thu Jun 12 12:39:24 2014 +0000
@@ -64,7 +64,7 @@
         {
             memset(buf, 0, sizeof(buf));
             int len = mdm.readFile(filename, buf, sizeof(buf));
-            if (len) 
+            if (len >= 0) 
                 printf("readFile %d \"%.*s\"\r\n", len, len, buf);
             mdm.delFile(filename);
         }