Skip to content

Commit

Permalink
CO2 Gadget Beta v0.14.013 low-power
Browse files Browse the repository at this point in the history
Fix last commit for EINKBOARDGDEM0213B74
  • Loading branch information
melkati committed Jun 30, 2024
1 parent feaca42 commit 2644627
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CO2_Gadget_EINK.h
Original file line number Diff line number Diff line change
Expand Up @@ -699,8 +699,8 @@ void displayShowValues(bool forceRedraw = false) {
timer.start();
#endif

if (cyclesLeftToRedrawDisplay > 0) {
cyclesLeftToRedrawDisplay--;
if (deepSleepData.cyclesLeftToRedrawDisplay > 0) {
deepSleepData.cyclesLeftToRedrawDisplay--;
#ifdef DEBUG_EINK
Serial.println("-->[EINK] Cycles left to full refresh of display: " + String(cyclesLeftToRedrawDisplay));
#endif
Expand Down

0 comments on commit 2644627

Please sign in to comment.