diff options
Diffstat (limited to 'firmware/target')
-rw-r--r-- | firmware/target/arm/ipod/lcd-gray.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/firmware/target/arm/ipod/lcd-gray.c b/firmware/target/arm/ipod/lcd-gray.c index 265cc447d7..707075b701 100644 --- a/firmware/target/arm/ipod/lcd-gray.c +++ b/firmware/target/arm/ipod/lcd-gray.c | |||
@@ -368,3 +368,12 @@ void lcd_update(void) | |||
368 | { | 368 | { |
369 | lcd_update_rect(0, 0, LCD_WIDTH, LCD_HEIGHT); | 369 | lcd_update_rect(0, 0, LCD_WIDTH, LCD_HEIGHT); |
370 | } | 370 | } |
371 | |||
372 | #ifdef HAVE_LCD_SHUTDOWN | ||
373 | /* LCD powerdown */ | ||
374 | void lcd_shutdown(void) | ||
375 | { | ||
376 | lcd_cmd_and_data(R_POWER_CONTROL, 0x1500); /* Turn off op amp power */ | ||
377 | lcd_cmd_and_data(R_POWER_CONTROL, 0x1502); /* Put LCD driver in standby */ | ||
378 | } | ||
379 | #endif | ||