mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-13 17:06:39 +02:00
0.8.29
* fix compile for ESP32-C3
This commit is contained in:
parent
cbb93cfd5a
commit
4e277e20c8
1 changed files with 13 additions and 0 deletions
|
@ -1,3 +1,16 @@
|
||||||
|
diff --git a/src/AsyncWebSocket.cpp b/src/AsyncWebSocket.cpp
|
||||||
|
index 12be5f8..cffeed7 100644
|
||||||
|
--- a/src/AsyncWebSocket.cpp
|
||||||
|
+++ b/src/AsyncWebSocket.cpp
|
||||||
|
@@ -737,7 +737,7 @@ void AsyncWebSocketClient::binary(const __FlashStringHelper *data, size_t len)
|
||||||
|
IPAddress AsyncWebSocketClient::remoteIP() const
|
||||||
|
{
|
||||||
|
if (!_client)
|
||||||
|
- return IPAddress(0U);
|
||||||
|
+ return IPAddress();
|
||||||
|
|
||||||
|
return _client->remoteIP();
|
||||||
|
}
|
||||||
diff --git a/src/WebResponses.cpp b/src/WebResponses.cpp
|
diff --git a/src/WebResponses.cpp b/src/WebResponses.cpp
|
||||||
index 22a549f..e0b36b3 100644
|
index 22a549f..e0b36b3 100644
|
||||||
--- a/src/WebResponses.cpp
|
--- a/src/WebResponses.cpp
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue