1
0
Fork 0
forked from len0rd/rockbox

Revert LCD changes - make sure the backlight remains on as a visible sign that the unit has powered off

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16314 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Robert Keevil 2008-02-14 20:48:17 +00:00
parent 500ebe47bd
commit 746ff30003

View file

@ -27,7 +27,6 @@
#include "pcf50605.h" #include "pcf50605.h"
#include "usb.h" #include "usb.h"
#include "lcd.h" #include "lcd.h"
#include "backlight-target.h"
void power_init(void) void power_init(void)
{ {
@ -119,13 +118,6 @@ void power_off(void)
lcd_set_background(LCD_WHITE); lcd_set_background(LCD_WHITE);
lcd_clear_display(); lcd_clear_display();
lcd_update(); lcd_update();
#ifndef BOOTLOADER
#if defined(IPOD_VIDEO) || defined(IPOD_NANO)
_backlight_off_normal();
#else
_backlight_off();
#endif
#endif /* BOOTLOADER */
sleep(HZ/16); sleep(HZ/16);
#endif #endif