|
@ -58,7 +58,9 @@ class Display { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
void tickerSecond() { |
|
|
void tickerSecond() { |
|
|
mMono->loop(); |
|
|
if (mMono!=NULL){ |
|
|
|
|
|
mMono->loop(); |
|
|
|
|
|
} |
|
|
if (mNewPayload || ((++mLoopCnt % 10) == 0)) { |
|
|
if (mNewPayload || ((++mLoopCnt % 10) == 0)) { |
|
|
mNewPayload = false; |
|
|
mNewPayload = false; |
|
|
mLoopCnt = 0; |
|
|
mLoopCnt = 0; |
|
@ -95,7 +97,7 @@ class Display { |
|
|
totalYieldTotal += iv->getChannelFieldValue(CH0, FLD_YT, rec); |
|
|
totalYieldTotal += iv->getChannelFieldValue(CH0, FLD_YT, rec); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if ((0 < mCfg->type) && (mCfg->type < 10)) { |
|
|
if ((0 < mCfg->type) && (mCfg->type < 10) && mMono!=NULL) { |
|
|
mMono->disp(totalPower, totalYieldDay, totalYieldTotal, isprod); |
|
|
mMono->disp(totalPower, totalYieldDay, totalYieldTotal, isprod); |
|
|
} else if (mCfg->type >= 10) { |
|
|
} else if (mCfg->type >= 10) { |
|
|
#if defined(ESP32) |
|
|
#if defined(ESP32) |
|
|