summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2006-11-10 00:02:28 +0000
committerMichael Sevakis <jethead71@rockbox.org>2006-11-10 00:02:28 +0000
commitf64f589d2efeb2749314bb9f91523b4555ded2d5 (patch)
tree00144df027cefae876dff9c6e9f64421befa26c4 /firmware/export
parent6170e8837b4cc8a6d33b1b3b095330b9984eaa9c (diff)
downloadrockbox-f64f589d2efeb2749314bb9f91523b4555ded2d5.zip
rockbox-f64f589d2efeb2749314bb9f91523b4555ded2d5.tar.gz
rockbox-f64f589d2efeb2749314bb9f91523b4555ded2d5.tar.bz2
rockbox-f64f589d2efeb2749314bb9f91523b4555ded2d5.tar.xz
H100/120: Split lcd driver into pixel format and device specific parts. Adjustment of contrast range to just a little less than white to a little more than black. Really only had to reset minimum.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11487 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/config-h100.h8
-rw-r--r--firmware/export/config-h120.h8
2 files changed, 6 insertions, 10 deletions
diff --git a/firmware/export/config-h100.h b/firmware/export/config-h100.h
index 91b2cb7..8ef2276 100644
--- a/firmware/export/config-h100.h
+++ b/firmware/export/config-h100.h
@@ -55,8 +55,6 @@
#define CONFIG_LCD LCD_S1D15E06
-#define DEFAULT_REMOTE_CONTRAST_SETTING 42
-
/* Define this for LCD backlight available */
#define CONFIG_BACKLIGHT BL_IRIVER_H100 /* port controlled */
@@ -156,9 +154,9 @@
#endif /* !SIMULATOR */
-#define DEFAULT_CONTRAST_SETTING 40
-#define MIN_CONTRAST_SETTING 5
-#define MAX_CONTRAST_SETTING 63
+#define DEFAULT_CONTRAST_SETTING 28
+#define MIN_CONTRAST_SETTING 14 /* White screen a bit higher than this */
+#define MAX_CONTRAST_SETTING 63 /* Black screen a bit lower than this*/
#define DEFAULT_REMOTE_CONTRAST_SETTING 42
#define MIN_REMOTE_CONTRAST_SETTING MIN_CONTRAST_SETTING
#define MAX_REMOTE_CONTRAST_SETTING MAX_CONTRAST_SETTING
diff --git a/firmware/export/config-h120.h b/firmware/export/config-h120.h
index ad73f37..e4c5cfe 100644
--- a/firmware/export/config-h120.h
+++ b/firmware/export/config-h120.h
@@ -50,8 +50,6 @@
#define CONFIG_LCD LCD_S1D15E06
-#define DEFAULT_REMOTE_CONTRAST_SETTING 42
-
/* Define this for LCD backlight available */
#define CONFIG_BACKLIGHT BL_IRIVER_H100 /* port controlled */
@@ -152,9 +150,9 @@
#endif /* !SIMULATOR */
-#define DEFAULT_CONTRAST_SETTING 40
-#define MIN_CONTRAST_SETTING 5
-#define MAX_CONTRAST_SETTING 63
+#define DEFAULT_CONTRAST_SETTING 28
+#define MIN_CONTRAST_SETTING 14 /* White screen a bit higher than this */
+#define MAX_CONTRAST_SETTING 63 /* Black screen a bit lower than this*/
#define DEFAULT_REMOTE_CONTRAST_SETTING 42
#define MIN_REMOTE_CONTRAST_SETTING MIN_CONTRAST_SETTING
#define MAX_REMOTE_CONTRAST_SETTING MAX_CONTRAST_SETTING