summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2014-03-03 17:38:43 +0100
committerThomas Martitz <kugel@rockbox.org>2014-03-03 17:38:43 +0100
commit8bae5f2644b5d5759499fbf1066b9c35c6f859ad (patch)
tree3fac0204ef63dda5dae1d1eb52bfd2e8d162b7b0 /firmware
parentfff981bf6dba007838e1c84518e1ad2dbcadcbd5 (diff)
downloadrockbox-8bae5f2644b5d5759499fbf1066b9c35c6f859ad.tar.gz
rockbox-8bae5f2644b5d5759499fbf1066b9c35c6f859ad.zip
Iaudio m3: implement lcd_get_dpi() (aka fix red).
Change-Id: I66dbbb4d8795cf1274fc721bf0e8769b8f757c31
Diffstat (limited to 'firmware')
-rw-r--r--firmware/export/config/iaudiom3.h4
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