diff options
Diffstat (limited to 'firmware/target/arm/ipod')
-rw-r--r-- | firmware/target/arm/ipod/power-ipod.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/target/arm/ipod/power-ipod.c b/firmware/target/arm/ipod/power-ipod.c index cb93fe398f..4c6df882c6 100644 --- a/firmware/target/arm/ipod/power-ipod.c +++ b/firmware/target/arm/ipod/power-ipod.c | |||
@@ -60,6 +60,11 @@ unsigned int power_input_status(void) | |||
60 | if ((GPIOC_INPUT_VAL & 0x04) == 0) | 60 | if ((GPIOC_INPUT_VAL & 0x04) == 0) |
61 | status = POWER_INPUT_MAIN_CHARGER; | 61 | status = POWER_INPUT_MAIN_CHARGER; |
62 | /* */ | 62 | /* */ |
63 | #elif defined(IPOD_3G) | ||
64 | /* firewire power */ | ||
65 | if ((GPIOC_INPUT_VAL & 0x10) == 0) | ||
66 | status = POWER_INPUT_MAIN_CHARGER; | ||
67 | /* */ | ||
63 | #else | 68 | #else |
64 | /* This needs filling in for other ipods. */ | 69 | /* This needs filling in for other ipods. */ |
65 | #endif | 70 | #endif |