diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2007-02-18 05:32:06 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2007-02-18 05:32:06 +0000 |
commit | 9a6f419775270340ee154c55dbe52e99682fb77a (patch) | |
tree | 188fa4854d2ac5529f701de1bbba29a3241495bc /flash/bootbox/main.c | |
parent | bd47d48c21ddcdd56b3654db78613d93739b8ce7 (diff) | |
download | rockbox-9a6f419775270340ee154c55dbe52e99682fb77a.tar.gz rockbox-9a6f419775270340ee154c55dbe52e99682fb77a.zip |
CONFIG_CHARGING
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12384 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'flash/bootbox/main.c')
-rw-r--r-- | flash/bootbox/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/flash/bootbox/main.c b/flash/bootbox/main.c index e3af78e721..9536d531f4 100644 --- a/flash/bootbox/main.c +++ b/flash/bootbox/main.c | |||
@@ -65,7 +65,7 @@ int show_logo(void) | |||
65 | return 0; | 65 | return 0; |
66 | } | 66 | } |
67 | 67 | ||
68 | #ifdef CONFIG_CHARGING | 68 | #if CONFIG_CHARGING |
69 | /* | 69 | /* |
70 | bool backlight_get_on_when_charging(void) | 70 | bool backlight_get_on_when_charging(void) |
71 | { | 71 | { |
@@ -167,7 +167,7 @@ void main(void) | |||
167 | button_init(); | 167 | button_init(); |
168 | powermgmt_init(); | 168 | powermgmt_init(); |
169 | 169 | ||
170 | #if defined(CONFIG_CHARGING) && (CONFIG_CPU == SH7034) | 170 | #if CONFIG_CHARGING && (CONFIG_CPU == SH7034) |
171 | if (charger_inserted() | 171 | if (charger_inserted() |
172 | #ifdef ATA_POWER_PLAYERSTYLE | 172 | #ifdef ATA_POWER_PLAYERSTYLE |
173 | && !ide_powered() /* relies on probing result from bootloader */ | 173 | && !ide_powered() /* relies on probing result from bootloader */ |