![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
tt
Dependencies: C027_Support mbed
Fork of C027_SupportTest by
Diff: main.cpp
- Revision:
- 24:81f5b43a6585
- Parent:
- 22:078f410ef2c7
- Child:
- 27:fe3b383dd4ec
diff -r a41d67d7749b -r 81f5b43a6585 main.cpp --- 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); }