mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-11 16:06:38 +02:00
add data request to PowerLimit update req.
This commit is contained in:
parent
626ca86d0d
commit
19184727bc
2 changed files with 11 additions and 5 deletions
|
@ -194,9 +194,10 @@ class Inverter {
|
|||
if(mNextLive)
|
||||
cb(RealTimeRunData_Debug, false); // get live data
|
||||
else {
|
||||
if(actPowerLimit == 0xffff)
|
||||
if(actPowerLimit == 0xffff) {
|
||||
cb(SystemConfigPara, false); // power limit info
|
||||
else if(InitDataState != devControlCmd) {
|
||||
cb(RealTimeRunData_Debug, false);
|
||||
} else if(InitDataState != devControlCmd) {
|
||||
cb(devControlCmd, false); // custom command which was received by API
|
||||
devControlCmd = InitDataState;
|
||||
mGetLossInterval = 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue