mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-02-12 02:58:12 +00:00
Making it work on 8266
This commit is contained in:
@@ -766,6 +766,10 @@ void swapWifiMode() {
|
||||
}
|
||||
dnsServer->setErrorReplyCode(DNSReplyCode::NoError);
|
||||
dnsServer->start(53, PSTR("*"), WiFi.softAPIP());
|
||||
#if defined(DEBUG_MODE)
|
||||
Debug.setSerialEnabled(true);
|
||||
Debug.begin("192.168.4.1", 23, RemoteDebug::VERBOSE);
|
||||
#endif
|
||||
} else {
|
||||
if(Debug.isActive(RemoteDebug::INFO)) debugI("Swapping to STA mode");
|
||||
if(dnsServer != NULL) {
|
||||
|
||||
Reference in New Issue
Block a user