Blynk example
Dependents: Blynk_Example_WIZwiki-W7500
Fork of Blynk by
Revision 17:ba922c4e9aee, committed 2017-08-14
- Comitter:
- jcm931213
- Date:
- Mon Aug 14 04:44:54 2017 +0000
- Parent:
- 16:5d8386745e22
- Commit message:
- W7500 Blynk Example; I arbitrarily modified TCPSocket Client.; You need to add a function to get and set socket number in TCPSocket Client.;
Changed in this revision
Adapters/BlynkMbedClient.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 5d8386745e22 -r ba922c4e9aee Adapters/BlynkMbedClient.h --- a/Adapters/BlynkMbedClient.h Mon Aug 14 04:28:21 2017 +0000 +++ b/Adapters/BlynkMbedClient.h Mon Aug 14 04:44:54 2017 +0000 @@ -66,7 +66,7 @@ void disconnect() { isConn = false; - if (client->getsock() == -1) return; + if (client->getsock()) return; client->close(); client->setsock(-1); }