diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2006-11-21 17:14:07 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2006-11-21 17:14:07 +0000 |
commit | 4a82f81f79ddb921328cd88fde8579fbd11b89e8 (patch) | |
tree | 7dd067a046b38596cd102038446af88be694af06 | |
parent | ef40b0ae43d8178a572b4cfdc6953e018898da3b (diff) | |
download | rockbox-4a82f81f79ddb921328cd88fde8579fbd11b89e8.tar.gz rockbox-4a82f81f79ddb921328cd88fde8579fbd11b89e8.zip |
H100 series: Adjusted gray scale balance and default contrast for more linear gray levels.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11564 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/export/config-h100.h | 2 | ||||
-rw-r--r-- | firmware/export/config-h120.h | 2 | ||||
-rw-r--r-- | firmware/target/coldfire/iriver/h100/lcd-h100.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/firmware/export/config-h100.h b/firmware/export/config-h100.h index fd84f37061..a872a4a637 100644 --- a/firmware/export/config-h100.h +++ b/firmware/export/config-h100.h | |||
@@ -172,7 +172,7 @@ | |||
172 | /* Main LCD backlight brightness range and defaults */ | 172 | /* Main LCD backlight brightness range and defaults */ |
173 | #define MIN_CONTRAST_SETTING 14 /* White screen a bit higher than this */ | 173 | #define MIN_CONTRAST_SETTING 14 /* White screen a bit higher than this */ |
174 | #define MAX_CONTRAST_SETTING 63 /* Black screen a bit lower than this */ | 174 | #define MAX_CONTRAST_SETTING 63 /* Black screen a bit lower than this */ |
175 | #define DEFAULT_CONTRAST_SETTING 28 | 175 | #define DEFAULT_CONTRAST_SETTING 27 |
176 | 176 | ||
177 | /* Remote LCD contrast range and defaults */ | 177 | /* Remote LCD contrast range and defaults */ |
178 | #define MIN_REMOTE_CONTRAST_SETTING 5 | 178 | #define MIN_REMOTE_CONTRAST_SETTING 5 |
diff --git a/firmware/export/config-h120.h b/firmware/export/config-h120.h index 4a8a3c99be..ee3d70236a 100644 --- a/firmware/export/config-h120.h +++ b/firmware/export/config-h120.h | |||
@@ -168,9 +168,9 @@ | |||
168 | /** Port-specific settings **/ | 168 | /** Port-specific settings **/ |
169 | 169 | ||
170 | /* Main LCD backlight brightness range and defaults */ | 170 | /* Main LCD backlight brightness range and defaults */ |
171 | #define DEFAULT_CONTRAST_SETTING 28 | ||
172 | #define MIN_CONTRAST_SETTING 14 /* White screen a bit higher than this */ | 171 | #define MIN_CONTRAST_SETTING 14 /* White screen a bit higher than this */ |
173 | #define MAX_CONTRAST_SETTING 63 /* Black screen a bit lower than this */ | 172 | #define MAX_CONTRAST_SETTING 63 /* Black screen a bit lower than this */ |
173 | #define DEFAULT_CONTRAST_SETTING 27 | ||
174 | 174 | ||
175 | /* Remote LCD contrast range and defaults */ | 175 | /* Remote LCD contrast range and defaults */ |
176 | #define MIN_REMOTE_CONTRAST_SETTING 5 | 176 | #define MIN_REMOTE_CONTRAST_SETTING 5 |
diff --git a/firmware/target/coldfire/iriver/h100/lcd-h100.c b/firmware/target/coldfire/iriver/h100/lcd-h100.c index 9d2f7dac6b..8afb23b85c 100644 --- a/firmware/target/coldfire/iriver/h100/lcd-h100.c +++ b/firmware/target/coldfire/iriver/h100/lcd-h100.c | |||
@@ -128,7 +128,7 @@ void lcd_init_device(void) | |||
128 | lcd_write_command_ex(LCD_CNTL_POWER_CONTROL, 0x17, -1); | 128 | lcd_write_command_ex(LCD_CNTL_POWER_CONTROL, 0x17, -1); |
129 | 129 | ||
130 | lcd_write_command_ex(LCD_CNTL_DISPLAY_START_LINE, 0, -1); | 130 | lcd_write_command_ex(LCD_CNTL_DISPLAY_START_LINE, 0, -1); |
131 | lcd_write_command_ex(LCD_CNTL_GRAY_SCALE_PATTERN, 0x32, -1); | 131 | lcd_write_command_ex(LCD_CNTL_GRAY_SCALE_PATTERN, 0x43, -1); |
132 | lcd_write_command_ex(LCD_CNTL_DISPLAY_MODE, 0, -1); /* Greyscale mode */ | 132 | lcd_write_command_ex(LCD_CNTL_DISPLAY_MODE, 0, -1); /* Greyscale mode */ |
133 | lcd_write_command(LCD_CNTL_DATA_INPUT_DIR | 0); /* Column mode */ | 133 | lcd_write_command(LCD_CNTL_DATA_INPUT_DIR | 0); /* Column mode */ |
134 | 134 | ||