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 | |
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')
-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) return 0; } -#ifdef CONFIG_CHARGING +#if CONFIG_CHARGING /* bool backlight_get_on_when_charging(void) { @@ -167,7 +167,7 @@ void main(void) button_init(); powermgmt_init(); -#if defined(CONFIG_CHARGING) && (CONFIG_CPU == SH7034) +#if CONFIG_CHARGING && (CONFIG_CPU == SH7034) if (charger_inserted() #ifdef ATA_POWER_PLAYERSTYLE && !ide_powered() /* relies on probing result from bootloader */ |