mirror of
https://github.com/lumapu/ahoy.git
synced 2025-07-18 16:57:11 +02:00
minor changes (debug levels, api endpoints)
This commit is contained in:
parent
4c5a9cb37f
commit
445423209d
2 changed files with 7 additions and 3 deletions
|
@ -265,7 +265,7 @@ class Inverter {
|
|||
}
|
||||
}
|
||||
else if (rec->assign == InfoAssignment) {
|
||||
DPRINTLN(DBG_INFO, "add info");
|
||||
DPRINTLN(DBG_DEBUG, "add info");
|
||||
// get at least the firmware version and save it to the inverter object
|
||||
if (getPosByChFld(0, FLD_FW_VERSION, rec) == pos){
|
||||
fwVersion = rec->record[pos];
|
||||
|
@ -273,7 +273,7 @@ class Inverter {
|
|||
}
|
||||
}
|
||||
else if (rec->assign == SystemConfigParaAssignment) {
|
||||
DPRINTLN(DBG_INFO, "add config");
|
||||
DPRINTLN(DBG_DEBUG, "add config");
|
||||
// get at least the firmware version and save it to the inverter object
|
||||
if (getPosByChFld(0, FLD_ACT_PWR_LIMIT, rec) == pos){
|
||||
actPowerLimit = rec->record[pos];
|
||||
|
@ -281,7 +281,7 @@ class Inverter {
|
|||
}
|
||||
}
|
||||
else if (rec->assign == AlarmDataAssignment) {
|
||||
DPRINTLN(DBG_INFO, "add alarm");
|
||||
DPRINTLN(DBG_DEBUG, "add alarm");
|
||||
if (getPosByChFld(0, FLD_LAST_ALARM_CODE, rec) == pos){
|
||||
lastAlarmMsg = getAlarmStr(rec->record[pos]);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue