mirror of
https://github.com/btclock/btclock_v3.git
synced 2024-11-19 02:30:01 +01:00
Bring back display.init in update
This commit is contained in:
parent
5987f03e8c
commit
a3783ceffa
@ -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 New Issue
Block a user