* fix read back of limit value, now with one decimal place
This commit is contained in:
lumapu 2024-03-10 13:26:20 +01:00
parent 7b030a39d5
commit 3dd1b4e73b
7 changed files with 12 additions and 4 deletions

View file

@ -335,7 +335,7 @@ class Inverter {
// eg. hw version ...
} else if (rec->assign == SystemConfigParaAssignment) {
DPRINTLN(DBG_DEBUG, "add config");
if (getPosByChFld(0, FLD_ACT_ACTIVE_PWR_LIMIT, rec) == pos){
if (getPosByChFld(0, FLD_ACT_ACTIVE_PWR_LIMIT, rec) == pos) {
actPowerLimit = rec->record[pos];
DPRINT(DBG_DEBUG, F("Inverter actual power limit: "));
DPRINTLN(DBG_DEBUG, String(actPowerLimit, 1));