Bring back display.init in update
This commit is contained in:
parent
5987f03e8c
commit
a3783ceffa
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ extern "C" void updateDisplay(void *pvParameters) noexcept
|
|||
ulTaskNotifyTake(pdTRUE, portMAX_DELAY);
|
||||
|
||||
std::lock_guard<std::mutex> lock(epdMutex[epdIndex]);
|
||||
|
||||
displays[epdIndex].init(0, false, 40);
|
||||
uint count = 0;
|
||||
while (EPD_BUSY[epdIndex].digitalRead() == HIGH || count < 10)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue