Temperature graph

This commit is contained in:
Gunnar Skjold
2021-12-19 09:57:51 +01:00
parent 062a3634a9
commit 4828f5a727
5 changed files with 68 additions and 9 deletions

View File

@@ -247,7 +247,7 @@ void AmsWebServer::temperatureJson() {
conf == NULL || conf->common ? 1 : 0,
data->lastRead
);
delay(1);
delay(10);
}
char* pos = buf+strlen(buf);
snprintf(count == 0 ? pos : pos-1, 8, "]}");