diff options
author | Jens Arnold <amiconn@rockbox.org> | 2006-08-10 16:32:14 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2006-08-10 16:32:14 +0000 |
commit | fe6f4f200f459630bcfb5760e21d02bb7e43be02 (patch) | |
tree | cbf5922ddfbffa89f9c2b82e283bde74ad4a816b /firmware | |
parent | f64ad7d8f3cd79bb006e66fad32caebf7dde5bd3 (diff) |
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')
-rw-r--r-- | firmware/drivers/lcd-h100.c | 2 | ||||
-rw-r--r-- | firmware/drivers/lcd-ipod.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/firmware/drivers/lcd-h100.c b/firmware/drivers/lcd-h100.c index 39497cc2ec..fd456007df 100644 --- a/firmware/drivers/lcd-h100.c +++ b/firmware/drivers/lcd-h100.c @@ -184,7 +184,7 @@ void lcd_init(void) lcd_write_command_ex(LCD_CNTL_POWER_CONTROL, 0x17, -1); lcd_write_command_ex(LCD_CNTL_DISPLAY_START_LINE, 0, -1); - lcd_write_command_ex(LCD_CNTL_GRAY_SCALE_PATTERN, 0x42, -1); + lcd_write_command_ex(LCD_CNTL_GRAY_SCALE_PATTERN, 0x32, -1); lcd_write_command_ex(LCD_CNTL_DISPLAY_MODE, 0, -1); /* Greyscale mode */ lcd_write_command(LCD_CNTL_DATA_INPUT_DIR | 0); /* Column mode */ 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) /* LCD init */ void lcd_init_device(void) { - lcd_cmd_and_data(R_DISPLAY_CONTROL, 0x0015); + lcd_cmd_and_data(R_DISPLAY_CONTROL, 0x0009); lcd_set_flip(false); lcd_cmd_and_data(R_ENTRY_MODE, 0x0000); @@ -167,9 +167,9 @@ void lcd_set_contrast(int val) void lcd_set_invert_display(bool yesno) { if (yesno) - lcd_cmd_and_data(R_DISPLAY_CONTROL, 0x0017); + lcd_cmd_and_data(R_DISPLAY_CONTROL, 0x0023); else - lcd_cmd_and_data(R_DISPLAY_CONTROL, 0x0015); + lcd_cmd_and_data(R_DISPLAY_CONTROL, 0x0009); } /* turn the display upside down (call lcd_update() afterwards) */ |