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 /firmware | |
parent | 00434be0f129eb72e3a0bd99deed2923c760cd5e (diff) | |
download | rockbox-fff981bf6dba007838e1c84518e1ad2dbcadcbd5.tar.gz rockbox-fff981bf6dba007838e1c84518e1ad2dbcadcbd5.zip |
Implement lcd_get_dpi() for X-Fi Style (aka fix red).
Change-Id: I9cab3a08c9e28558db2c16e8df30afcef6e11004
Diffstat (limited to 'firmware')
-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 @@ | |||
101 | #define LCD_WIDTH 320 | 101 | #define LCD_WIDTH 320 |
102 | #define LCD_HEIGHT 240 | 102 | #define LCD_HEIGHT 240 |
103 | #define LCD_DEPTH 16 /* 65536 colours */ | 103 | #define LCD_DEPTH 16 /* 65536 colours */ |
104 | /* sqrt(320^2 + 240^2) / 2.4 = 166.66 */ | ||
105 | #define LCD_DPI 167 | ||
104 | #define LCD_PIXELFORMAT RGB565 /* rgb565 */ | 106 | #define LCD_PIXELFORMAT RGB565 /* rgb565 */ |
105 | 107 | ||
106 | /* Define this if you have a software controlled poweroff */ | 108 | /* Define this if you have a software controlled poweroff */ |
@@ -199,5 +201,3 @@ | |||
199 | #define BOOTDIR "/.rockbox" | 201 | #define BOOTDIR "/.rockbox" |
200 | 202 | ||
201 | #define INCLUDE_TIMEOUT_API | 203 | #define INCLUDE_TIMEOUT_API |
202 | |||
203 | |||