mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-11 16:06:38 +02:00
devControl bugs and error handling
This commit is contained in:
parent
7ed5a0a9e1
commit
6b1f027d01
7 changed files with 111 additions and 68 deletions
|
@ -71,6 +71,7 @@ void Main::setup(uint32_t timeout) {
|
|||
|
||||
mUpdater->setup(mWeb);
|
||||
mApActive = startAp;
|
||||
mStActive = !startAp;
|
||||
}
|
||||
|
||||
|
||||
|
@ -121,6 +122,10 @@ void Main::loop(void) {
|
|||
stats();
|
||||
}*/
|
||||
}
|
||||
if (WiFi.status() != WL_CONNECTED) {
|
||||
DPRINTLN(DBG_INFO, "[WiFi]: Connection Lost");
|
||||
mStActive = false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue