Kompatibilita s ESP32C3.

This commit is contained in:
Pavel Brychta 2022-10-01 15:41:48 +02:00
parent 71ab0b8e8c
commit afbbf372bb

View File

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