mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
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:
parent
e6ddf94fbd
commit
69f27d4c66
6 changed files with 21 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue