summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2008-05-17 09:55:23 +0000
committerJens Arnold <amiconn@rockbox.org>2008-05-17 09:55:23 +0000
commitab46e463bdd4df6f2f956179da4ef8b619f83f50 (patch)
tree8ef0b4fb1a30d6f7f0e8b4e217535c7751b5d686
parentff2dfd31cc2fdb0787a37e3c93c0ecadc188702e (diff)
downloadrockbox-ab46e463bdd4df6f2f956179da4ef8b619f83f50.zip
rockbox-ab46e463bdd4df6f2f956179da4ef8b619f83f50.tar.gz
rockbox-ab46e463bdd4df6f2f956179da4ef8b619f83f50.tar.bz2
rockbox-ab46e463bdd4df6f2f956179da4ef8b619f83f50.tar.xz
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.c8
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 5cc2191..b1faa19 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)
lcd_cmd_and_data(R_DRV_WAVEFORM_CONTROL, 0x48);
/* C waveform, no EOR, 9 lines inversion */
lcd_cmd_and_data(R_POWER_CONTROL, POWER_REG_H | 0xc);
- lcd_cmd_and_data(R_DISPLAY_CONTROL, 0x0015);
+ lcd_cmd_and_data(R_DISPLAY_CONTROL, 0x0019);
#ifdef HAVE_BACKLIGHT_INVERSION
invert_display();
#endif
@@ -175,10 +175,10 @@ static void invert_display(void)
int oldlevel = disable_irq_save();
#if NUM_CORES > 1
corelock_lock(&cl);
- lcd_cmd_and_data(R_DISPLAY_CONTROL, new_invert? 0x0017 : 0x0015);
+ lcd_cmd_and_data(R_DISPLAY_CONTROL, new_invert? 0x0027 : 0x0019);
corelock_unlock(&cl);
#else
- lcd_cmd_and_data(R_DISPLAY_CONTROL, new_invert? 0x0017 : 0x0015);
+ lcd_cmd_and_data(R_DISPLAY_CONTROL, new_invert? 0x0027 : 0x0019);
#endif
restore_irq(oldlevel);
last_invert = new_invert;
@@ -199,7 +199,7 @@ void lcd_set_backlight_inversion(bool yesno)
#else
void lcd_set_invert_display(bool yesno)
{
- lcd_cmd_and_data(R_DISPLAY_CONTROL, yesno ? 0x0017 : 0x0015);
+ lcd_cmd_and_data(R_DISPLAY_CONTROL, yesno ? 0x0027 : 0x0019);
}
#endif