mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-01-27 12:43:08 +00:00
Minor changes after testing
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user