mbed 5.4 with sleep mode
Dependencies: C027_Support mbed-dev
Fork of C027_SupportTest_coap by
Diff: main.cpp
- 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); }