Minor changes after testing

This commit is contained in:
Gunnar Skjold
2021-03-10 18:33:45 +01:00
parent af76243761
commit 5b9f3b7aed
2 changed files with 5 additions and 2 deletions

View File

@@ -200,7 +200,7 @@ void AmsWebServer::temperatureJson() {
return;
int count = hw->getTempSensorCount();
int size = 32 + (count * 72);
int size = 16 + (count * 72);
char buf[size];
snprintf(buf, 16, "{\"c\":%d,\"s\":[", count);