Browse Source

0.8.29

* fix compile for ESP32-C3
pull/1274/head
lumapu 1 year ago
parent
commit
4e277e20c8
  1. 13
      patches/AsyncWeb_Prometheus.patch

13
patches/AsyncWeb_Prometheus.patch

@ -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…
Cancel
Save