summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/drivers/lcd-h100.c2
-rw-r--r--firmware/drivers/lcd-ipod.c6
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) */