forked from len0rd/rockbox
Prevent the screen flashing white when shutting down colour ipods - fixes FS#7755
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16311 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ca3cb1e965
commit
5d6994ee99
1 changed files with 4 additions and 0 deletions
|
|
@ -27,6 +27,7 @@
|
|||
#include "pcf50605.h"
|
||||
#include "usb.h"
|
||||
#include "lcd.h"
|
||||
#include "backlight-target.h"
|
||||
|
||||
void power_init(void)
|
||||
{
|
||||
|
|
@ -118,6 +119,9 @@ void power_off(void)
|
|||
lcd_set_background(LCD_WHITE);
|
||||
lcd_clear_display();
|
||||
lcd_update();
|
||||
#ifndef BOOTLOADER
|
||||
_backlight_off_normal();
|
||||
#endif
|
||||
sleep(HZ/16);
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue