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: 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 | 
--- 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);
      }
    