mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
zen/zenxfi: switch lcd driver to 24-bit mode
Change-Id: I2c42f0e422130bcdaf1aaf92c7b56776752f4f64
This commit is contained in:
parent
cd4fb9ee79
commit
d5591a2b28
9 changed files with 22 additions and 46 deletions
|
|
@ -102,10 +102,8 @@
|
|||
#define LCD_HEIGHT 240
|
||||
/* sqrt(320^2 + 240^2) / 2.5 = 160.0 */
|
||||
#define LCD_DPI 160
|
||||
#define LCD_DEPTH 16 /* 65536 colours */
|
||||
#define LCD_PIXELFORMAT RGB565 /* rgb565 */
|
||||
/* framebuffer uses 24-bit/pix */
|
||||
#define IMX233_FRAMEBUFFER_SIZE (LCD_WIDTH * LCD_HEIGHT * 3)
|
||||
#define LCD_DEPTH 24 /* 65536 colours */
|
||||
#define LCD_PIXELFORMAT RGB888 /* rgb565 */
|
||||
|
||||
/* Define this if you have a software controlled poweroff */
|
||||
#define HAVE_SW_POWEROFF
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue