1
0
mirror of https://github.com/s00500/ESPUI.git synced 2025-06-11 02:30:39 +00:00

Changes per suggestions by maintainer (Lukas Bachschwell).

This commit is contained in:
Nick Reynolds
2022-09-21 08:58:05 +01:00
parent 90ba90a717
commit 79b9acf9f4
6 changed files with 10 additions and 8 deletions

View File

@ -199,7 +199,7 @@ void setup(void)
if (WiFi.status() != WL_CONNECTED)
{
Serial.print("\n\nCreating hotspot");
ESPUI.captivePortal = true; //Configure ESPUI to be a captive portal only if the ESP is acting as a hotspot
WiFi.mode(WIFI_AP);
delay(100);
WiFi.softAPConfig(apIP, apIP, IPAddress(255, 255, 255, 0));

View File

@ -189,7 +189,7 @@ void setup(void)
if (WiFi.status() != WL_CONNECTED)
{
Serial.print("\n\nCreating hotspot");
ESPUI.captivePortal = true; //Configure ESPUI to be a captive portal only if the ESP is acting as a hotspot
WiFi.mode(WIFI_AP);
delay(100);
WiFi.softAPConfig(apIP, apIP, IPAddress(255, 255, 255, 0));

View File

@ -197,7 +197,7 @@ void setup(void)
if (WiFi.status() != WL_CONNECTED)
{
Serial.print("\n\nCreating hotspot");
ESPUI.captivePortal = true; //Configure ESPUI to be a captive portal only if the ESP is acting as a hotspot
WiFi.mode(WIFI_AP);
delay(100);
WiFi.softAPConfig(apIP, apIP, IPAddress(255, 255, 255, 0));