splash: force pixel format to RGB565 when loading the bitmap

This commit is contained in:
Raphael Coeffic
2022-09-05 19:27:50 +10:00
committed by Peter Feerick
parent ba814db38a
commit 0d3b2c027b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ void drawSplash()
// try splash from SD card first
if (loadSplashImg && splashImg == nullptr) {
if (!sdMounted()) sdInit();
splashImg = BitmapBuffer::loadBitmap(BITMAPS_PATH "/" SPLASH_FILE);
splashImg = BitmapBuffer::loadBitmap(BITMAPS_PATH "/" SPLASH_FILE, BMP_RGB565);
loadSplashImg = false;
if (splashImg == nullptr) {