Merge pull request #3022 from proddy/core3

fix merge errors
This commit is contained in:
Proddy
2026-04-16 08:46:06 +02:00
committed by GitHub
3 changed files with 2030 additions and 1736 deletions

View File

@@ -52,13 +52,13 @@ INCLUDES := src/core src/devices src/web src/test lib_standalone lib/* lib/semv
LIBRARIES :=
CPPCHECK = cppcheck
CHECKFLAGS = -q --force --std=gnu++17
CHECKFLAGS = -q --force --std=gnu++20
#----------------------------------------------------------------------
# Languages Standard
#----------------------------------------------------------------------
C_STANDARD := -std=c17
CXX_STANDARD := -std=gnu++17
C_STANDARD := -std=c20
CXX_STANDARD := -std=gnu++20
#----------------------------------------------------------------------
# Defined Symbols

File diff suppressed because it is too large Load Diff

View File

@@ -352,7 +352,7 @@ bool WebSchedulerService::command(const char * name, const std::string & command
// parse json
JsonDocument doc;
if (deserializeJson(doc, cmd) == DeserializationError::Ok) {
HTTPClient http;
// HTTPClient http;
std::string url = doc["url"] | "";
// for a GET with parameters replace commands with values
// don't search the complete url, it may contain a devicename in path
@@ -461,7 +461,7 @@ bool WebSchedulerService::command(const char * name, const std::string & command
return true;
} else
#endif
if (Helpers::toLower(url.c_str()).starts_with("http://")) {
if (Helpers::toLower(url.c_str()).starts_with("http://")) {
HTTPClient * http = new HTTPClient;
if (http->begin(url.c_str())) {
bool content_set = false;