From 4e277e20c8b0b1663f365dd1d1c14fd6432311c5 Mon Sep 17 00:00:00 2001 From: lumapu Date: Thu, 28 Dec 2023 10:29:55 +0100 Subject: [PATCH] 0.8.29 * fix compile for ESP32-C3 --- patches/AsyncWeb_Prometheus.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/patches/AsyncWeb_Prometheus.patch b/patches/AsyncWeb_Prometheus.patch index 7fb9209a0..21fe22cde 100644 --- a/patches/AsyncWeb_Prometheus.patch +++ b/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 index 22a549f..e0b36b3 100644 --- a/src/WebResponses.cpp