diff options
-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 | ||