mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-02-06 00:25:55 +00:00
Some changes for cloud service
This commit is contained in:
@@ -687,6 +687,11 @@ void loop() {
|
||||
|
||||
EnergyAccountingConfig *eac = ea.getConfig();
|
||||
cloud->setEnergyAccountingConfig(*eac);
|
||||
|
||||
ws.setCloud(cloud);
|
||||
} else if(cloud != NULL) {
|
||||
delete cloud;
|
||||
cloud = NULL;
|
||||
}
|
||||
config.ackCloudConfig();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user