forked from len0rd/rockbox
Fix the LCD line remaining active after shutdown on grayscale ipods (FS#5199). Original patch by Tomasz Mon, modified by me.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14907 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
18318d200e
commit
f548336e27
8 changed files with 32 additions and 0 deletions
|
|
@ -368,3 +368,12 @@ void lcd_update(void)
|
|||
{
|
||||
lcd_update_rect(0, 0, LCD_WIDTH, LCD_HEIGHT);
|
||||
}
|
||||
|
||||
#ifdef HAVE_LCD_SHUTDOWN
|
||||
/* LCD powerdown */
|
||||
void lcd_shutdown(void)
|
||||
{
|
||||
lcd_cmd_and_data(R_POWER_CONTROL, 0x1500); /* Turn off op amp power */
|
||||
lcd_cmd_and_data(R_POWER_CONTROL, 0x1502); /* Put LCD driver in standby */
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue