summaryrefslogtreecommitdiffstats
path: root/flash/bootbox
diff options
context:
space:
mode:
Diffstat (limited to 'flash/bootbox')
-rw-r--r--flash/bootbox/main.c4
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 */