diff options
| author | mark9064 <30447455+mark9064@users.noreply.github.com> | 2024-02-11 14:35:11 +0000 |
|---|---|---|
| committer | JF <JF002@users.noreply.github.com> | 2024-05-01 16:13:47 +0200 |
| commit | ee925200c38ef9f04f976ebaf70b17d2898fcec5 (patch) | |
| tree | 4aaf4add7a16e8e653e47198b922d7fda193c81d /src/recoveryLoader.cpp | |
| parent | 079e676baf70a943d31317afde47b759ca69ca2d (diff) | |
Remove task to notify
Diffstat (limited to 'src/recoveryLoader.cpp')
| -rw-r--r-- | src/recoveryLoader.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/recoveryLoader.cpp b/src/recoveryLoader.cpp index 56cb965f..55f85123 100644 --- a/src/recoveryLoader.cpp +++ b/src/recoveryLoader.cpp @@ -121,7 +121,6 @@ void DisplayLogo() { Pinetime::Tools::RleDecoder rleDecoder(infinitime_nb, sizeof(infinitime_nb)); for (int i = 0; i < displayWidth; i++) { rleDecoder.DecodeNext(displayBuffer, displayWidth * bytesPerPixel); - ulTaskNotifyTake(pdTRUE, 500); lcd.DrawBuffer(0, i, displayWidth, 1, reinterpret_cast<const uint8_t*>(displayBuffer), displayWidth * bytesPerPixel); } } @@ -130,7 +129,6 @@ void DisplayProgressBar(uint8_t percent, uint16_t color) { static constexpr uint8_t barHeight = 20; std::fill(displayBuffer, displayBuffer + (displayWidth * bytesPerPixel), color); for (int i = 0; i < barHeight; i++) { - ulTaskNotifyTake(pdTRUE, 500); uint16_t barWidth = std::min(static_cast<float>(percent) * 2.4f, static_cast<float>(displayWidth)); lcd.DrawBuffer(0, displayWidth - barHeight + i, barWidth, 1, reinterpret_cast<const uint8_t*>(displayBuffer), barWidth * bytesPerPixel); } |
