fix for correct sentence

This commit is contained in:
DanielR92 2022-10-19 20:56:07 +02:00
parent 7dd13cf530
commit a3d12eac43

View file

@ -146,7 +146,7 @@ void app::loop(void) {
if ((p->packet[12] == ActivePowerContr) && (p->packet[13] == 0x00))
{
String msg = (p->packet[10] == 0x00 && p->packet[11] == 0x00) ? "" : "NOT ";
DPRINTLN(DBG_INFO, F("Inverter ") + String(iv->id) + msg + String(iv->powerLimit[0]) + F(" with PowerLimitControl ") + String(iv->powerLimit[1]));
DPRINTLN(DBG_INFO, F("Inverter ") + String(iv->id) + F(" has ") + msg + F("accepted power limit set point ") + String(iv->powerLimit[0]) + F(" with PowerLimitControl ") + String(iv->powerLimit[1]));
}
iv->devControlCmd = Init;
}