fix power limit not possible #607

This commit is contained in:
lumapu 2023-01-21 00:52:16 +01:00
parent 67043285bc
commit 2dbf732ddc
2 changed files with 2 additions and 1 deletions

View file

@ -282,6 +282,7 @@ class Inverter {
else if (rec->assign == InfoAssignment) {
DPRINTLN(DBG_DEBUG, "add info");
// eg. fw version ...
isConnected = true;
}
else if (rec->assign == SystemConfigParaAssignment) {
DPRINTLN(DBG_DEBUG, "add config");
@ -289,7 +290,6 @@ class Inverter {
if (getPosByChFld(0, FLD_ACT_ACTIVE_PWR_LIMIT, rec) == pos){
actPowerLimit = rec->record[pos];
DPRINT(DBG_DEBUG, F("Inverter actual power limit: ") + String(actPowerLimit, 1));
isConnected = true;
}
}
else if (rec->assign == AlarmDataAssignment) {