mirror of
https://github.com/arendst/Tasmota.git
synced 2025-11-15 22:10:40 +00:00
Refactored Wifi for ESP32 to allow for Core3 (#21106)
* Refactored Wifi for ESP32 to allow for Core3 * Fix case in include * Grrr * Fix compilation * Fix Ethernet IPv6 * Fix wrong hostname due to mac address unknown at start
This commit is contained in:
@@ -1166,7 +1166,7 @@ bool HTTPClientLight::connect(void)
|
||||
} else {
|
||||
IPAddress remote_addr;
|
||||
// Add include "ESP8266WiFi.h" for this to work
|
||||
if (!WiFi.hostByName(_host.c_str(), remote_addr)) {
|
||||
if (!WiFiHelper::hostByName(_host.c_str(), remote_addr)) {
|
||||
return false;
|
||||
}
|
||||
if(!_client->connect(remote_addr, _port, _connectTimeout)) {
|
||||
|
||||
Reference in New Issue
Block a user