diff options
author | Thomas Martitz <kugel@rockbox.org> | 2014-03-03 17:38:43 +0100 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2014-03-03 17:38:43 +0100 |
commit | 8bae5f2644b5d5759499fbf1066b9c35c6f859ad (patch) | |
tree | 3fac0204ef63dda5dae1d1eb52bfd2e8d162b7b0 | |
parent | fff981bf6dba007838e1c84518e1ad2dbcadcbd5 (diff) | |
download | rockbox-8bae5f2.tar.gz rockbox-8bae5f2.zip |
Iaudio m3: implement lcd_get_dpi() (aka fix red).
Change-Id: I66dbbb4d8795cf1274fc721bf0e8769b8f757c31
-rw-r--r-- | firmware/export/config/iaudiom3.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/firmware/export/config/iaudiom3.h b/firmware/export/config/iaudiom3.h index f51ae5b975..8dd7396ca3 100644 --- a/firmware/export/config/iaudiom3.h +++ b/firmware/export/config/iaudiom3.h @@ -50,10 +50,12 @@ /* define this if you would like tagcache to build on this target */ #define HAVE_TAGCACHE -/* LCD dimensions */ +/* Remote LCD dimensions (no main display) */ #define LCD_WIDTH 128 #define LCD_HEIGHT 96 #define LCD_DEPTH 2 +/* sqrt(128^2 + 96^2) / 1.25 = 128 */ +#define LCD_DPI 128 #define LCD_PIXELFORMAT VERTICAL_INTERLEAVED |