summaryrefslogtreecommitdiff
path: root/firmware/export/config/iriverh300.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/config/iriverh300.h')
-rw-r--r--firmware/export/config/iriverh300.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/export/config/iriverh300.h b/firmware/export/config/iriverh300.h
index aab31bc6a9..ce8f2151f0 100644
--- a/firmware/export/config/iriverh300.h
+++ b/firmware/export/config/iriverh300.h
@@ -41,6 +41,8 @@
/* LCD dimensions */
#define LCD_WIDTH 220
#define LCD_HEIGHT 176
+/* sqrt(220^2 + 176^2) / 2.0 = 140.9 */
+#define LCD_DPI 141
#define LCD_DEPTH 16 /* 65k colours */
#define LCD_PIXELFORMAT RGB565 /* rgb565 */