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
+1 -1
View File
@@ -24,7 +24,7 @@ void BatteryService::begin()
void BatteryService::batteryEvent()
{
StaticJsonDocument<32> doc;
JsonDocument doc;
char message[32];
doc["soc"] = _lastSOC;
doc["charging"] = _isCharging;