diff options
author | Jens Arnold <amiconn@rockbox.org> | 2005-07-11 20:29:05 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2005-07-11 20:29:05 +0000 |
commit | 9cce5c37273c36449fd3a0c518cfd7c00448daa4 (patch) | |
tree | 39da6ce5424f97c51a6f6bee2245dcb9162a1521 /firmware | |
parent | 367de4d0646f21a8cdf2fcc14ad5e4a8d9c8ccb2 (diff) |
Adjustment for bootbox.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7107 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/powermgmt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c index fdc77f680b..40640cd032 100644 --- a/firmware/powermgmt.c +++ b/firmware/powermgmt.c @@ -443,6 +443,7 @@ static int runcurrent(void) current = CURRENT_USB; } +#ifndef BOOTLOADER if ((backlight_get_timeout() == 1) /* LED always on */ #ifdef HAVE_CHARGE_CTRL || (charger_inserted() && backlight_get_on_when_charging()) @@ -450,6 +451,7 @@ static int runcurrent(void) ) { current += CURRENT_BACKLIGHT; } +#endif return(current); } |