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: internal/network/NetworkWebSetup.cpp
- Revision:
- 13:2b51f5267c92
- Parent:
- 11:ea484e1b7fc4
- Child:
- 16:7f1d6d359787
--- a/internal/network/NetworkWebSetup.cpp Tue Aug 12 02:44:34 2014 -0700 +++ b/internal/network/NetworkWebSetup.cpp Wed Aug 13 03:14:30 2014 -0700 @@ -98,6 +98,12 @@ int32_t status; if(!WICONNECT_FAILED(result, wiconnect->responseToInt32(&status))) { + if(status) + { +#ifdef WICONNECT_ASYNC_TIMER_ENABLED + monitorTimer.stop(); +#endif + } *isRunningPtr = (bool)status; } }