From e6d8e2ee978d14736580c9a2cddde0b3bd5268ab Mon Sep 17 00:00:00 2001 From: lumapu Date: Sun, 21 May 2023 14:57:17 +0200 Subject: [PATCH] 0.6.14 merge PR #920 --- src/plugins/Display/Display_ePaper.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/plugins/Display/Display_ePaper.cpp b/src/plugins/Display/Display_ePaper.cpp index 7a000c2d..eccf118c 100644 --- a/src/plugins/Display/Display_ePaper.cpp +++ b/src/plugins/Display/Display_ePaper.cpp @@ -197,7 +197,6 @@ void DisplayEPaper::actualPowerPaged(float _totalPower, float _totalYieldDay, fl snprintf(_fmtText, sizeof(_fmtText), "%d Inverter online", _isprod); _display->println(_fmtText); - } } while (_display->nextPage()); } @@ -217,9 +216,8 @@ void DisplayEPaper::loop(float totalPower, float totalYieldDay, float totalYield if ((isprod > 0) && (_changed)) { _changed = false; lastUpdatePaged(); - } else if(totalPower==0) { + } else if(totalPower==0) offlineFooter(); - } _display->powerOff(); }