Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: IDW01M1_QuickStart_cloud
Fork of MQTT by
Diff: MQTTSocket.h
- Revision:
- 48:66826ea709ea
- Parent:
- 47:24f2bf2819a5
--- a/MQTTSocket.h Wed Sep 28 13:11:35 2016 +0000
+++ b/MQTTSocket.h Wed Sep 28 15:34:12 2016 +0000
@@ -29,8 +29,7 @@
// int start = t.read_ms();
int rc = mysock.recv((char*)buffer, len);
// int stop = t.read_ms();
- if (rc>0)
-// printf ("recv File: %s, Line: %d Read nB: %d rc: %d timeout: %d elaps: %d\n\r",__FILE__,__LINE__, len, rc, timeout, stop-start);
+// if (rc>0) printf ("recv File: %s, Line: %d Read nB: %d rc: %d timeout: %d elaps: %d\n\r",__FILE__,__LINE__, len, rc, timeout, stop-start);
return rc;
}
