mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-01-26 20:23:41 +00:00
Fixed some bugs from late night coding
This commit is contained in:
@@ -75,6 +75,9 @@ void AmsWebServer::setJson(StaticJsonDocument<1024> json) {
|
||||
tqo = json["data"]["tQO"].as<double>();
|
||||
}
|
||||
} else {
|
||||
if(po > 0) {
|
||||
json["data"]["PO"] = po;
|
||||
}
|
||||
if(u1 > 0) {
|
||||
json["data"]["U1"] = u1;
|
||||
json["data"]["I1"] = i1;
|
||||
|
||||
Reference in New Issue
Block a user