Now turns off the backlight when the sleeptimer expires with the charger attached

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4884 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2004-07-15 05:24:34 +00:00
parent 246391de2c
commit 272d6f11cd

View file

@ -342,6 +342,7 @@ static void handle_auto_poweroff(void)
{
DEBUGF("Sleep timer timeout. Stopping...\n");
set_sleep_timer(0);
backlight_off(); /* Nighty, nighty... */
}
else
{