Browse Source

Merge branch 'development03' of https://github.com/You69Man/ahoy into You69Man-development03

pull/1225/head
lumapu 1 year ago
parent
commit
deb3c759d5
  1. 6
      src/plugins/Display/Display.h

6
src/plugins/Display/Display.h

@ -91,12 +91,14 @@ class Display {
Inverter<> *iv; Inverter<> *iv;
record_t<> *rec; record_t<> *rec;
bool allOff = true; bool allOff = true;
for (uint8_t i = 0; i < mSys->getNumInverters(); i++) { uint8_t nInv = mSys->getNumInverters();
for (uint8_t i = 0; i < nInv; i++) {
iv = mSys->getInverterByPos(i); iv = mSys->getInverterByPos(i);
rec = iv->getRecordStruct(RealTimeRunData_Debug);
if (iv == NULL) if (iv == NULL)
continue; continue;
rec = iv->getRecordStruct(RealTimeRunData_Debug);
if (iv->isProducing()) if (iv->isProducing())
nrprod++; nrprod++;
else else

Loading…
Cancel
Save