diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2004-07-15 05:24:34 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2004-07-15 05:24:34 +0000 |
commit | 272d6f11cde5f963e8fc4892db60943edd259672 (patch) | |
tree | fde5445679c587408be9e7ebb5c36d67a3ab8934 /firmware | |
parent | 246391de2cdcf45c438cccccae75055ca54471b3 (diff) | |
download | rockbox-272d6f11cde5f963e8fc4892db60943edd259672.tar.gz rockbox-272d6f11cde5f963e8fc4892db60943edd259672.zip |
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
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/powermgmt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c index c321f60d04..a093fe2ac8 100644 --- a/firmware/powermgmt.c +++ b/firmware/powermgmt.c | |||
@@ -342,6 +342,7 @@ static void handle_auto_poweroff(void) | |||
342 | { | 342 | { |
343 | DEBUGF("Sleep timer timeout. Stopping...\n"); | 343 | DEBUGF("Sleep timer timeout. Stopping...\n"); |
344 | set_sleep_timer(0); | 344 | set_sleep_timer(0); |
345 | backlight_off(); /* Nighty, nighty... */ | ||
345 | } | 346 | } |
346 | else | 347 | else |
347 | { | 348 | { |