From 8bae5f2644b5d5759499fbf1066b9c35c6f859ad Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Mon, 3 Mar 2014 17:38:43 +0100 Subject: Iaudio m3: implement lcd_get_dpi() (aka fix red). Change-Id: I66dbbb4d8795cf1274fc721bf0e8769b8f757c31 --- firmware/export/config/iaudiom3.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3