From a3783ceffa036ff9bb95fd9880a2be8f0d850c57 Mon Sep 17 00:00:00 2001 From: Djuri Baars Date: Mon, 13 Nov 2023 18:53:35 +0100 Subject: [PATCH] Bring back display.init in update --- src/lib/epd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/epd.cpp b/src/lib/epd.cpp index 593c885..ee3d93d 100644 --- a/src/lib/epd.cpp +++ b/src/lib/epd.cpp @@ -209,7 +209,7 @@ extern "C" void updateDisplay(void *pvParameters) noexcept ulTaskNotifyTake(pdTRUE, portMAX_DELAY); std::lock_guard lock(epdMutex[epdIndex]); - + displays[epdIndex].init(0, false, 40); uint count = 0; while (EPD_BUSY[epdIndex].digitalRead() == HIGH || count < 10) {