1
0
Fork 0
forked from len0rd/rockbox

rgnano: Use proper lcd depth and pixelformat

According to screen driver this device screen is actually 16 bit RGB565 (https://github.com/DrUm78/linux/blob/FunKey_S/drivers/staging/fbtft/fb_st7789v.c#L137).

This also fixes the color banding issues we had before and boomshine doesn't segfault anymore. Also building rockpaint now that's possible.

Change-Id: Icee49c347fbfabc79e0040314ec148cb77ca6325
This commit is contained in:
Hairo R. Carela 2025-08-18 21:43:13 -04:00
parent e6ddf94fbd
commit 69f27d4c66
6 changed files with 21 additions and 6 deletions

View file

@ -40,8 +40,8 @@
/* LCD dimensions */
#define LCD_WIDTH 240
#define LCD_HEIGHT 240
#define LCD_DEPTH 24
#define LCD_PIXELFORMAT RGB888
#define LCD_DEPTH 16
#define LCD_PIXELFORMAT RGB565
/* define this to indicate your device's keypad */
#define HAVE_BUTTON_DATA