forked from len0rd/rockbox
Implement lcd_get_dpi() for X-Fi Style (aka fix red).
Change-Id: I9cab3a08c9e28558db2c16e8df30afcef6e11004
This commit is contained in:
parent
00434be0f1
commit
fff981bf6d
1 changed files with 2 additions and 2 deletions
|
@ -101,6 +101,8 @@
|
|||
#define LCD_WIDTH 320
|
||||
#define LCD_HEIGHT 240
|
||||
#define LCD_DEPTH 16 /* 65536 colours */
|
||||
/* sqrt(320^2 + 240^2) / 2.4 = 166.66 */
|
||||
#define LCD_DPI 167
|
||||
#define LCD_PIXELFORMAT RGB565 /* rgb565 */
|
||||
|
||||
/* Define this if you have a software controlled poweroff */
|
||||
|
@ -199,5 +201,3 @@
|
|||
#define BOOTDIR "/.rockbox"
|
||||
|
||||
#define INCLUDE_TIMEOUT_API
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue