From f64f589d2efeb2749314bb9f91523b4555ded2d5 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Fri, 10 Nov 2006 00:02:28 +0000 Subject: 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 --- firmware/export/config-h100.h | 8 +++----- firmware/export/config-h120.h | 8 +++----- 2 files changed, 6 insertions(+), 10 deletions(-) (limited to 'firmware/export') diff --git a/firmware/export/config-h100.h b/firmware/export/config-h100.h index 91b2cb7658..8ef227676a 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 ad73f379b9..e4c5cfe876 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 -- cgit v1.2.3