mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-04-26 04:07:57 +00:00
Added comment
This commit is contained in:
@@ -909,7 +909,7 @@ void WiFi_connect() {
|
|||||||
WiFi.config(ip, gw, sn, dns1, dns2);
|
WiFi.config(ip, gw, sn, dns1, dns2);
|
||||||
} else {
|
} else {
|
||||||
#if defined(ESP32)
|
#if defined(ESP32)
|
||||||
WiFi.config(INADDR_NONE, INADDR_NONE, INADDR_NONE); // Workaround to make DHCP hostname work for ESP32
|
WiFi.config(INADDR_NONE, INADDR_NONE, INADDR_NONE); // Workaround to make DHCP hostname work for ESP32. See: https://github.com/espressif/arduino-esp32/issues/2537
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
if(strlen(config.getWifiHostname()) > 0) {
|
if(strlen(config.getWifiHostname()) > 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user