From 9a6f419775270340ee154c55dbe52e99682fb77a Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Sun, 18 Feb 2007 05:32:06 +0000 Subject: CONFIG_CHARGING git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12384 a1c6a512-1295-4272-9138-f99709370657 --- flash/bootbox/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'flash/bootbox') 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 */ -- cgit