diff --git a/src/WiFiConfig.cpp b/src/WiFiConfig.cpp index 7c54276..164749b 100644 --- a/src/WiFiConfig.cpp +++ b/src/WiFiConfig.cpp @@ -697,8 +697,7 @@ wificonfigresult_t WiFiConfig::_setupAP(wificonfig_cb cb) #endif /* Soft AP network parameters */ -// IPAddress apIP(192, 168, 4, 1); - IPAddress apIP(10, 1, 1, 1); // zmena kvuli funkcnimu Captive portalu viz. https://github.com/espressif/arduino-esp32/issues/1037 + IPAddress apIP(192, 168, 4, 1); IPAddress netMsk(255, 255, 255, 0); WiFi.disconnect(); // pro jistotu se odpojime @@ -760,7 +759,7 @@ bool WiFiConfig::_testWifi(wificonfig_cb cb) // nakonfigurujeme ESP dle nove nastavenych parametru WiFi.disconnect(); // vsechno odpojime - s = EES_readString(configBase + offsetof(wificonfigarea_t, ssid), elementSize(wificonfigarea_t, ssid)); + String s = EES_readString(configBase + offsetof(wificonfigarea_t, ssid), elementSize(wificonfigarea_t, ssid)); String pass = EES_readString(configBase + offsetof(wificonfigarea_t, pass), elementSize(wificonfigarea_t, pass)); switch (EEPROM.read(configBase + offsetof(wificonfigarea_t, mode)))