diff options
author | Jens Arnold <amiconn@rockbox.org> | 2008-05-17 09:55:23 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2008-05-17 09:55:23 +0000 |
commit | ab46e463bdd4df6f2f956179da4ef8b619f83f50 (patch) | |
tree | 8ef0b4fb1a30d6f7f0e8b4e217535c7751b5d686 | |
parent | ff2dfd31cc2fdb0787a37e3c93c0ecadc188702e (diff) | |
download | rockbox-ab46e463bdd4df6f2f956179da4ef8b619f83f50.tar.gz rockbox-ab46e463bdd4df6f2f956179da4ef8b619f83f50.zip |
Greyscale ipods: Use a somewhat darker shade for lightgrey, improving appearance.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17551 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/target/arm/ipod/lcd-gray.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/target/arm/ipod/lcd-gray.c b/firmware/target/arm/ipod/lcd-gray.c index 5cc219162c..b1faa19fb9 100644 --- a/firmware/target/arm/ipod/lcd-gray.c +++ b/firmware/target/arm/ipod/lcd-gray.c | |||
@@ -132,7 +132,7 @@ void lcd_init_device(void) | |||
132 | lcd_cmd_and_data(R_DRV_WAVEFORM_CONTROL, 0x48); | 132 | lcd_cmd_and_data(R_DRV_WAVEFORM_CONTROL, 0x48); |
133 | /* C waveform, no EOR, 9 lines inversion */ | 133 | /* C waveform, no EOR, 9 lines inversion */ |
134 | lcd_cmd_and_data(R_POWER_CONTROL, POWER_REG_H | 0xc); | 134 | lcd_cmd_and_data(R_POWER_CONTROL, POWER_REG_H | 0xc); |
135 | lcd_cmd_and_data(R_DISPLAY_CONTROL, 0x0015); | 135 | lcd_cmd_and_data(R_DISPLAY_CONTROL, 0x0019); |
136 | #ifdef HAVE_BACKLIGHT_INVERSION | 136 | #ifdef HAVE_BACKLIGHT_INVERSION |
137 | invert_display(); | 137 | invert_display(); |
138 | #endif | 138 | #endif |
@@ -175,10 +175,10 @@ static void invert_display(void) | |||
175 | int oldlevel = disable_irq_save(); | 175 | int oldlevel = disable_irq_save(); |
176 | #if NUM_CORES > 1 | 176 | #if NUM_CORES > 1 |
177 | corelock_lock(&cl); | 177 | corelock_lock(&cl); |
178 | lcd_cmd_and_data(R_DISPLAY_CONTROL, new_invert? 0x0017 : 0x0015); | 178 | lcd_cmd_and_data(R_DISPLAY_CONTROL, new_invert? 0x0027 : 0x0019); |
179 | corelock_unlock(&cl); | 179 | corelock_unlock(&cl); |
180 | #else | 180 | #else |
181 | lcd_cmd_and_data(R_DISPLAY_CONTROL, new_invert? 0x0017 : 0x0015); | 181 | lcd_cmd_and_data(R_DISPLAY_CONTROL, new_invert? 0x0027 : 0x0019); |
182 | #endif | 182 | #endif |
183 | restore_irq(oldlevel); | 183 | restore_irq(oldlevel); |
184 | last_invert = new_invert; | 184 | last_invert = new_invert; |
@@ -199,7 +199,7 @@ void lcd_set_backlight_inversion(bool yesno) | |||
199 | #else | 199 | #else |
200 | void lcd_set_invert_display(bool yesno) | 200 | void lcd_set_invert_display(bool yesno) |
201 | { | 201 | { |
202 | lcd_cmd_and_data(R_DISPLAY_CONTROL, yesno ? 0x0017 : 0x0015); | 202 | lcd_cmd_and_data(R_DISPLAY_CONTROL, yesno ? 0x0027 : 0x0019); |
203 | } | 203 | } |
204 | #endif | 204 | #endif |
205 | 205 | ||