Spravny fix pro ip adresu i pro ostatni ESP32

This commit is contained in:
Pavel Brychta 2024-01-31 08:59:50 +01:00
parent ef9ccc6a14
commit 37a23ac99e

View File

@ -798,7 +798,7 @@ void AsyncWebSocketClient::binary(const __FlashStringHelper *data, size_t len)
IPAddress AsyncWebSocketClient::remoteIP() const
{
if (!_client)
return IPAddress(0UL);
return IPAddress((uint32_t)0);
return _client->remoteIP();
}