mirror of
https://github.com/Laxilef/OTGateway.git
synced 2025-12-13 11:44:29 +05:00
fix: compatibility with framework-arduinoespressif32 version 3.0.4
This commit is contained in:
@@ -33,6 +33,10 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if defined(ARDUINO_ARCH_ESP32)
|
#if defined(ARDUINO_ARCH_ESP32)
|
||||||
|
bool canHandle(WebServer &server, HTTPMethod method, const String uri) override {
|
||||||
|
return this->canHandle(method, uri);
|
||||||
|
}
|
||||||
|
|
||||||
bool canHandle(HTTPMethod method, const String uri) override {
|
bool canHandle(HTTPMethod method, const String uri) override {
|
||||||
#else
|
#else
|
||||||
bool canHandle(HTTPMethod method, const String& uri) override {
|
bool canHandle(HTTPMethod method, const String& uri) override {
|
||||||
|
|||||||
@@ -28,6 +28,10 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if defined(ARDUINO_ARCH_ESP32)
|
#if defined(ARDUINO_ARCH_ESP32)
|
||||||
|
bool canHandle(WebServer &server, HTTPMethod method, const String uri) override {
|
||||||
|
return this->canHandle(method, uri);
|
||||||
|
}
|
||||||
|
|
||||||
bool canHandle(HTTPMethod method, const String uri) override {
|
bool canHandle(HTTPMethod method, const String uri) override {
|
||||||
#else
|
#else
|
||||||
bool canHandle(HTTPMethod method, const String& uri) override {
|
bool canHandle(HTTPMethod method, const String& uri) override {
|
||||||
|
|||||||
@@ -58,6 +58,10 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if defined(ARDUINO_ARCH_ESP32)
|
#if defined(ARDUINO_ARCH_ESP32)
|
||||||
|
bool canHandle(WebServer &server, HTTPMethod method, const String uri) override {
|
||||||
|
return this->canHandle(method, uri);
|
||||||
|
}
|
||||||
|
|
||||||
bool canHandle(HTTPMethod method, const String uri) override {
|
bool canHandle(HTTPMethod method, const String uri) override {
|
||||||
#else
|
#else
|
||||||
bool canHandle(HTTPMethod method, const String& uri) override {
|
bool canHandle(HTTPMethod method, const String& uri) override {
|
||||||
@@ -66,6 +70,10 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if defined(ARDUINO_ARCH_ESP32)
|
#if defined(ARDUINO_ARCH_ESP32)
|
||||||
|
bool canUpload(WebServer &server, const String uri) override {
|
||||||
|
return this->canUpload(uri);
|
||||||
|
}
|
||||||
|
|
||||||
bool canUpload(const String uri) override {
|
bool canUpload(const String uri) override {
|
||||||
#else
|
#else
|
||||||
bool canUpload(const String& uri) override {
|
bool canUpload(const String& uri) override {
|
||||||
|
|||||||
Reference in New Issue
Block a user