Host library for controlling a WiConnect enabled Wi-Fi module.
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; } /*************************************************************************************************/