Added more decimals in data.json

This commit is contained in:
Gunnar Skjold
2021-10-23 10:04:52 +02:00
parent c670549dea
commit 768645fc0a
2 changed files with 5 additions and 5 deletions

View File

@@ -695,7 +695,7 @@ void AmsWebServer::dataJson() {
mqttStatus = 3;
}
char json[280];
char json[284];
snprintf_P(json, sizeof(json), DATA_JSON,
maxPwr == 0 ? meterState->isThreePhase() ? 20000 : 10000 : maxPwr,
meterConfig->productionCapacity,