Merge branch 'main' into main

This commit is contained in:
stefan123t 2022-08-07 01:23:31 +02:00 committed by GitHub
commit 6256c7a178
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 197 additions and 15 deletions

View file

@ -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;
}
}