Optimized EEPROM string read/write code

Changed DNS server to improve AP mode stability
This commit is contained in:
cschwinne
2018-10-07 11:56:29 +02:00
parent f98b0beee5
commit 34ddf104a9
4 changed files with 97 additions and 171 deletions

View File

@@ -52,7 +52,8 @@ void wledInit()
//start captive portal if AP active
if (onlyAP || strlen(apSSID) > 0)
{
dnsServer.start(53, "*", WiFi.softAPIP());
dnsServer.setErrorReplyCode(DNSReplyCode::ServerFailure);
dnsServer.start(53, "wled.me", WiFi.softAPIP());
dnsActive = true;
}