summaryrefslogtreecommitdiff
path: root/flash/bootbox/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'flash/bootbox/main.c')
-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)
65 return 0; 65 return 0;
66} 66}
67 67
68#ifdef CONFIG_CHARGING 68#if CONFIG_CHARGING
69/* 69/*
70bool backlight_get_on_when_charging(void) 70bool 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 */