mirror of
https://git.btclock.dev/btclock/btclock_v3
synced 2025-06-06 18:31:01 +00: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);
|
ulTaskNotifyTake(pdTRUE, portMAX_DELAY);
|
||||||
|
|
||||||
std::lock_guard<std::mutex> lock(epdMutex[epdIndex]);
|
std::lock_guard<std::mutex> lock(epdMutex[epdIndex]);
|
||||||
|
displays[epdIndex].init(0, false, 40);
|
||||||
uint count = 0;
|
uint count = 0;
|
||||||
while (EPD_BUSY[epdIndex].digitalRead() == HIGH || count < 10)
|
while (EPD_BUSY[epdIndex].digitalRead() == HIGH || count < 10)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user