mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 16:29:51 +03:00
fix error in debug mode
This commit is contained in:
@@ -98,7 +98,7 @@ void WebAPIService::webAPIService(AsyncWebServerRequest * request) {
|
|||||||
cmd.c_str(),
|
cmd.c_str(),
|
||||||
data.c_str(),
|
data.c_str(),
|
||||||
id.c_str(),
|
id.c_str(),
|
||||||
ok ? F("OK") : F("Invalid"));
|
ok ? PSTR("OK") : PSTR("Invalid"));
|
||||||
EMSESP::logger().info(debug.c_str());
|
EMSESP::logger().info(debug.c_str());
|
||||||
if (json.size()) {
|
if (json.size()) {
|
||||||
char buffer2[EMSESP_MAX_JSON_SIZE_LARGE];
|
char buffer2[EMSESP_MAX_JSON_SIZE_LARGE];
|
||||||
|
|||||||
Reference in New Issue
Block a user