diff options
author | Thomas Martitz <kugel@rockbox.org> | 2014-03-03 17:01:36 +0100 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2014-03-03 17:01:36 +0100 |
commit | fff981bf6dba007838e1c84518e1ad2dbcadcbd5 (patch) | |
tree | 98472e3812bb203480822ee2fc8259b79dbfc662 | |
parent | 00434be0f129eb72e3a0bd99deed2923c760cd5e (diff) | |
download | rockbox-fff981b.tar.gz rockbox-fff981b.zip |
Implement lcd_get_dpi() for X-Fi Style (aka fix red).
Change-Id: I9cab3a08c9e28558db2c16e8df30afcef6e11004
-rw-r--r-- | firmware/export/config/creativezenxfistyle.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/export/config/creativezenxfistyle.h b/firmware/export/config/creativezenxfistyle.h index 3dbfa9c855..7b8415c8c8 100644 --- a/firmware/export/config/creativezenxfistyle.h +++ b/firmware/export/config/creativezenxfistyle.h @@ -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 - - |