add qpiri as a configurable value

This commit is contained in:
Raphael Pertl
2020-02-22 22:21:11 +01:00
parent ebd3bbe2bc
commit 35a09bb538
4 changed files with 8 additions and 1 deletions
+1 -1
View File
@@ -176,7 +176,7 @@ void cInverter::poll() {
// Reading QPIRI status
if (!ups_qpiri_changed) {
if (query("QPIRI", 97)) {
if (query("QPIRI", qpiri)) {
m.lock();
strcpy(status2, (const char*)buf+1);
m.unlock();