Upgrades ArduinoJson from version 6 to 7

This commit is contained in:
Rune Harlyk
2024-05-07 10:36:16 +02:00
committed by Rune Harlyk
parent 2b4d196e7c
commit a150caad9d
39 changed files with 241 additions and 561 deletions
@@ -16,7 +16,7 @@
#include <esp_ota_ops.h>
#include <esp_app_format.h>
using namespace std::placeholders; // for `_1` etc
using namespace std::placeholders;
static char md5[33] = "\0";
@@ -152,7 +152,7 @@ esp_err_t UploadFirmwareService::uploadComplete(PsychicRequest *request)
{
if (strlen(md5) == 32)
{
PsychicJsonResponse response = PsychicJsonResponse(request, false, 256);
PsychicJsonResponse response = PsychicJsonResponse(request, false);
JsonObject root = response.getRoot();
root["md5"] = md5;
return response.send();