summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/ipod
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/ipod')
-rw-r--r--firmware/target/arm/ipod/power-ipod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/ipod/power-ipod.c b/firmware/target/arm/ipod/power-ipod.c
index ef594173f0..fcaf5b4ff8 100644
--- a/firmware/target/arm/ipod/power-ipod.c
+++ b/firmware/target/arm/ipod/power-ipod.c
@@ -66,7 +66,7 @@ unsigned int power_input_status(void)
if ((GPIOD_INPUT_VAL & 0x08) != 0)
status |= POWER_INPUT_USB_CHARGER;
/* */
-#elif defined(IPOD_3G)
+#elif defined(IPOD_3G) || defined(IPOD_1G2G)
/* firewire power */
if ((GPIOC_INPUT_VAL & 0x10) == 0)
status = POWER_INPUT_MAIN_CHARGER;