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

@ -6,6 +6,7 @@
* fix wakeup issue, once wifi was lost during night the communication didn't start in the morning * fix wakeup issue, once wifi was lost during night the communication didn't start in the morning
* reenabled FlashStringHelper because of lacking RAM * reenabled FlashStringHelper because of lacking RAM
* complete rewrite of monochrome display class, thx to @dAjaY85 -> displays are now configurable in setup * complete rewrite of monochrome display class, thx to @dAjaY85 -> displays are now configurable in setup
* fix power limit not possible #607
## 0.5.74 ## 0.5.74
* improved payload handling (retransmit all fragments on CRC error) * improved payload handling (retransmit all fragments on CRC error)

View file

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