mirror of
https://github.com/lumapu/ahoy.git
synced 2025-08-06 09:58:23 +02:00
Merge branch 'You69Man-development03' into development03
This commit is contained in:
commit
19813a841d
1 changed files with 4 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue