1
0
Fork 0
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:
Robert Keevil 2008-02-14 15:02:06 +00:00
parent ca3cb1e965
commit 5d6994ee99

View file

@ -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