summaryrefslogtreecommitdiff
path: root/firmware/drivers/lcd-ipod.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2006-08-10 16:32:14 +0000
committerJens Arnold <amiconn@rockbox.org>2006-08-10 16:32:14 +0000
commitfe6f4f200f459630bcfb5760e21d02bb7e43be02 (patch)
treecbf5922ddfbffa89f9c2b82e283bde74ad4a816b /firmware/drivers/lcd-ipod.c
parentf64ad7d8f3cd79bb006e66fad32caebf7dde5bd3 (diff)
downloadrockbox-fe6f4f200f459630bcfb5760e21d02bb7e43be02.tar.gz
rockbox-fe6f4f200f459630bcfb5760e21d02bb7e43be02.zip
Make the grey shades on greyscale iPods a little darker, and the dark grey on H1x0 a little brighter.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10511 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/lcd-ipod.c')
-rw-r--r--firmware/drivers/lcd-ipod.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/drivers/lcd-ipod.c b/firmware/drivers/lcd-ipod.c
index 875bf8ffa0..7f881c529d 100644
--- a/firmware/drivers/lcd-ipod.c
+++ b/firmware/drivers/lcd-ipod.c
@@ -130,7 +130,7 @@ static void lcd_cmd_and_data(unsigned cmd, unsigned data)
130/* LCD init */ 130/* LCD init */
131void lcd_init_device(void) 131void lcd_init_device(void)
132{ 132{
133 lcd_cmd_and_data(R_DISPLAY_CONTROL, 0x0015); 133 lcd_cmd_and_data(R_DISPLAY_CONTROL, 0x0009);
134 lcd_set_flip(false); 134 lcd_set_flip(false);
135 lcd_cmd_and_data(R_ENTRY_MODE, 0x0000); 135 lcd_cmd_and_data(R_ENTRY_MODE, 0x0000);
136 136
@@ -167,9 +167,9 @@ void lcd_set_contrast(int val)
167void lcd_set_invert_display(bool yesno) 167void lcd_set_invert_display(bool yesno)
168{ 168{
169 if (yesno) 169 if (yesno)
170 lcd_cmd_and_data(R_DISPLAY_CONTROL, 0x0017); 170 lcd_cmd_and_data(R_DISPLAY_CONTROL, 0x0023);
171 else 171 else
172 lcd_cmd_and_data(R_DISPLAY_CONTROL, 0x0015); 172 lcd_cmd_and_data(R_DISPLAY_CONTROL, 0x0009);
173} 173}
174 174
175/* turn the display upside down (call lcd_update() afterwards) */ 175/* turn the display upside down (call lcd_update() afterwards) */