We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bbf7b2 commit 88ececbCopy full SHA for 88ececb
src/WiFiSettingsService.cpp
@@ -71,10 +71,10 @@ void WiFiSettingsService::manageSTA() {
71
} else {
72
// configure for DHCP
73
#ifdef ESP32
74
- WiFi.config(INADDR_NONE, INADDR_NONE, INADDR_NONE);
+ //WiFi.config(INADDR_NONE, INADDR_NONE, INADDR_NONE);
75
WiFi.setHostname(_state.hostname.c_str());
76
#elif defined(ESP8266)
77
- WiFi.config(INADDR_ANY, INADDR_ANY, INADDR_ANY);
+ //WiFi.config(INADDR_ANY, INADDR_ANY, INADDR_ANY);
78
WiFi.hostname(_state.hostname);
79
#endif
80
}
0 commit comments