mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-02-16 04:43:53 +00:00
Fixed issue with new device
This commit is contained in:
@@ -329,7 +329,7 @@ void AmsWebServer::sysinfoJson() {
|
||||
ea->getCostLastMonth(),
|
||||
ea->getProducedLastMonth(),
|
||||
ea->getIncomeLastMonth(),
|
||||
(tz->toLocal(now)-now)/3600
|
||||
tz == NULL ? 0 : (tz->toLocal(now)-now)/3600
|
||||
);
|
||||
|
||||
stripNonAscii((uint8_t*) buf, size+1);
|
||||
|
||||
Reference in New Issue
Block a user