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: wiconnect-ota_example wiconnect-web_setup_example wiconnect-test-console wiconnect-tcp_server_example ... more
Diff: Wiconnect.cpp
- Revision:
- 36:a30cbf4bdb13
- Parent:
- 35:15725177aa60
- Child:
- 37:5ee74d72efe4
diff -r 15725177aa60 -r a30cbf4bdb13 Wiconnect.cpp
--- a/Wiconnect.cpp Thu Nov 27 00:25:09 2014 -0800
+++ b/Wiconnect.cpp Thu Nov 27 00:46:50 2014 -0800
@@ -369,7 +369,7 @@
char *idx = strchr(versionStr, ',');
if(idx == NULL)
{
- return -1;
+ return UINT_MAX;
}
*idx = 0;
idx = versionStr;
@@ -385,7 +385,7 @@
return ver;
}
- return -1;
+ return UINT_MAX;
}
/*************************************************************************************************/
AMW006-A02