summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
authorRani Hod <raenye@gmail.com>2006-07-31 19:13:21 +0000
committerRani Hod <raenye@gmail.com>2006-07-31 19:13:21 +0000
commitcc839a26711069399ec86cdb63b2d246fa3395d2 (patch)
treeded3154dc6447cc92e44c974fe6f40c558ff4d12 /firmware/export
parent14313485f76767f21fcd241d55f7cdb36167d6bf (diff)
downloadrockbox-cc839a26711069399ec86cdb63b2d246fa3395d2.zip
rockbox-cc839a26711069399ec86cdb63b2d246fa3395d2.tar.gz
rockbox-cc839a26711069399ec86cdb63b2d246fa3395d2.tar.bz2
rockbox-cc839a26711069399ec86cdb63b2d246fa3395d2.tar.xz
Applied FS#5734 by Michael Sevakis (X5 LCD contrast bugfix and
some #define fixup). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10388 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/config-iaudiox5.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/export/config-iaudiox5.h b/firmware/export/config-iaudiox5.h
index 21fa636..ae48eb6 100644
--- a/firmware/export/config-iaudiox5.h
+++ b/firmware/export/config-iaudiox5.h
@@ -22,6 +22,7 @@
#define LCD_HEIGHT 128
#define LCD_DEPTH 16 /* pseudo 262.144 colors */
#define LCD_PIXELFORMAT RGB565 /* rgb565 */
+#define HAVE_LCD_CONTRAST
/* remote LCD */
#define LCD_REMOTE_WIDTH 128
@@ -40,6 +41,10 @@
#define CONFIG_LCD LCD_X5
+#define MIN_CONTRAST_SETTING 1
+#define MAX_CONTRAST_SETTING 30
+#define DEFAULT_CONTRAST_SETTING 19 /* Match boot contrast */
+
/* Define this for LCD backlight available */
#define CONFIG_BACKLIGHT BL_IRIVER_H100 /* port controlled !?!? */
#define HAVE_BACKLIGHT_BRIGHTNESS