Fix Double Call of StartWebserver when it is in WiFiManager Mode

This commit is contained in:
Adrian Scillato 2021-04-12 13:35:34 -03:00 committed by GitHub
parent dcad3c16c6
commit c63b211009
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1305,7 +1305,7 @@ void Every250mSeconds(void)
if (Settings.webserver) {
#ifdef ESP8266
StartWebserver(Settings.webserver, WiFi.localIP());
if (!WifiIsInManagerMode()) { StartWebserver(Settings.webserver, WiFi.localIP()); }
#endif // ESP8266
#ifdef ESP32
#ifdef USE_ETHERNET