Skip to content

Commit

Permalink
Merge branch 'You69Man-development03' into development03
Browse files Browse the repository at this point in the history
  • Loading branch information
lumapu committed Nov 9, 2023
2 parents 56a1f3b + deb3c75 commit 19813a8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/plugins/Display/Display.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,14 @@ class Display {
Inverter<> *iv;
record_t<> *rec;
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);
rec = iv->getRecordStruct(RealTimeRunData_Debug);
if (iv == NULL)
continue;

rec = iv->getRecordStruct(RealTimeRunData_Debug);

if (iv->isProducing())
nrprod++;
else
Expand Down

0 comments on commit 19813a8

Please sign in to comment.