forked from len0rd/rockbox
Use RGB565 define instead of plain 565.
Pixelformats should always use the defines, not the raw values. Change-Id: Id60a73385bb6cc4e8f8d1f8b292489d066f1e13f
This commit is contained in:
parent
f62009303a
commit
0c3934f917
7 changed files with 7 additions and 7 deletions
|
@ -45,7 +45,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define LCD_DEPTH 16
|
#define LCD_DEPTH 16
|
||||||
#define LCD_PIXELFORMAT 565
|
#define LCD_PIXELFORMAT RGB565
|
||||||
|
|
||||||
#define HAVE_LCD_ENABLE
|
#define HAVE_LCD_ENABLE
|
||||||
|
|
||||||
|
|
|
@ -74,7 +74,7 @@
|
||||||
#define LCD_HEIGHT 240
|
#define LCD_HEIGHT 240
|
||||||
#define LCD_DPI 160
|
#define LCD_DPI 160
|
||||||
#define LCD_DEPTH 16
|
#define LCD_DEPTH 16
|
||||||
#define LCD_PIXELFORMAT 565
|
#define LCD_PIXELFORMAT RGB565
|
||||||
|
|
||||||
/* define this if you have LCD enable function */
|
/* define this if you have LCD enable function */
|
||||||
#define HAVE_LCD_ENABLE
|
#define HAVE_LCD_ENABLE
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
#define LCD_WIDTH 800
|
#define LCD_WIDTH 800
|
||||||
#define LCD_HEIGHT 480
|
#define LCD_HEIGHT 480
|
||||||
#define LCD_DEPTH 16
|
#define LCD_DEPTH 16
|
||||||
#define LCD_PIXELFORMAT 565
|
#define LCD_PIXELFORMAT RGB565
|
||||||
|
|
||||||
/* define this to indicate your device's keypad */
|
/* define this to indicate your device's keypad */
|
||||||
#define HAVE_TOUCHSCREEN
|
#define HAVE_TOUCHSCREEN
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
#define LCD_WIDTH 800
|
#define LCD_WIDTH 800
|
||||||
#define LCD_HEIGHT 480
|
#define LCD_HEIGHT 480
|
||||||
#define LCD_DEPTH 16
|
#define LCD_DEPTH 16
|
||||||
#define LCD_PIXELFORMAT 565
|
#define LCD_PIXELFORMAT RGB565
|
||||||
|
|
||||||
/* define this to indicate your device's keypad */
|
/* define this to indicate your device's keypad */
|
||||||
#define HAVE_TOUCHSCREEN
|
#define HAVE_TOUCHSCREEN
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
#define LCD_WIDTH 800
|
#define LCD_WIDTH 800
|
||||||
#define LCD_HEIGHT 480
|
#define LCD_HEIGHT 480
|
||||||
#define LCD_DEPTH 16
|
#define LCD_DEPTH 16
|
||||||
#define LCD_PIXELFORMAT 565
|
#define LCD_PIXELFORMAT RGB565
|
||||||
|
|
||||||
/* define this to indicate your device's keypad */
|
/* define this to indicate your device's keypad */
|
||||||
#define HAVE_TOUCHSCREEN
|
#define HAVE_TOUCHSCREEN
|
||||||
|
|
|
@ -52,7 +52,7 @@
|
||||||
|
|
||||||
#define LCD_DEPTH 16
|
#define LCD_DEPTH 16
|
||||||
/* Check that but should not matter */
|
/* Check that but should not matter */
|
||||||
#define LCD_PIXELFORMAT 565
|
#define LCD_PIXELFORMAT RGB565
|
||||||
|
|
||||||
/* YP-R0 has the backlight */
|
/* YP-R0 has the backlight */
|
||||||
#define HAVE_BACKLIGHT
|
#define HAVE_BACKLIGHT
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define LCD_DEPTH 16
|
#define LCD_DEPTH 16
|
||||||
#define LCD_PIXELFORMAT 565
|
#define LCD_PIXELFORMAT RGB565
|
||||||
|
|
||||||
/* define this to indicate your device's keypad */
|
/* define this to indicate your device's keypad */
|
||||||
#define HAVE_TOUCHSCREEN
|
#define HAVE_TOUCHSCREEN
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue