diff options
author | Jens Arnold <amiconn@rockbox.org> | 2007-04-12 22:12:13 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2007-04-12 22:12:13 +0000 |
commit | 47bf6c5a5ad1fd9143ab87328793b285230f74a3 (patch) | |
tree | 5199f2225a3dfc438bb1c4c5e9906f14664dfa43 /firmware/powermgmt.c | |
parent | 734278b7d1fde5e177c6842f49c16b9df8c353fa (diff) | |
download | rockbox-47bf6c5a5ad1fd9143ab87328793b285230f74a3.tar.gz rockbox-47bf6c5a5ad1fd9143ab87328793b285230f74a3.zip |
Moved archos backlight code to target tree. Changed old mutlivalue CONFIG_BACKLIGHT to a simple HAVE_BACKLIGHT.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13136 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/powermgmt.c')
-rw-r--r-- | firmware/powermgmt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c index e1ec1a6017..3d87773394 100644 --- a/firmware/powermgmt.c +++ b/firmware/powermgmt.c | |||
@@ -708,7 +708,7 @@ static int runcurrent(void) | |||
708 | current = CURRENT_USB; | 708 | current = CURRENT_USB; |
709 | } | 709 | } |
710 | 710 | ||
711 | #if CONFIG_BACKLIGHT && !defined(BOOTLOADER) | 711 | #if defined(HAVE_BACKLIGHT) && !defined(BOOTLOADER) |
712 | if (backlight_get_current_timeout() == 0) /* LED always on */ | 712 | if (backlight_get_current_timeout() == 0) /* LED always on */ |
713 | current += CURRENT_BACKLIGHT; | 713 | current += CURRENT_BACKLIGHT; |
714 | #endif | 714 | #endif |