fix: #348 fit cover artifacts 2 (#465)

Supersedes #358 and includes the bugfix from #351
This commit is contained in:
Jonas Diemer
2026-01-27 10:21:15 +01:00
committed by GitHub
parent 67a679ab41
commit 9224bc3f8c
4 changed files with 15 additions and 10 deletions

View File

@@ -260,6 +260,7 @@ void SleepActivity::renderCoverSleepScreen() const {
if (SdMan.openFileForRead("SLP", coverBmpPath, file)) {
Bitmap bitmap(file);
if (bitmap.parseHeaders() == BmpReaderError::Ok) {
Serial.printf("[SLP] Rendering sleep cover: %s\n", coverBmpPath);
renderBitmapSleepScreen(bitmap);
return;
}