diff options
author | Szymon Dziok <b0hoon@o2.pl> | 2016-10-02 23:30:30 +0200 |
---|---|---|
committer | Szymon Dziok <b0hoon@o2.pl> | 2016-10-02 23:30:30 +0200 |
commit | a0b79ce7fa92a02ae525cbdccbb747e4ace6a789 (patch) | |
tree | 43a91674bb454e268b9a6721003e3c3a80478abc /firmware/target/arm | |
parent | e3deec949df7ddad13b24103b2a70d9ceaa73ecc (diff) | |
download | rockbox-a0b79ce7fa92a02ae525cbdccbb747e4ace6a789.tar.gz rockbox-a0b79ce7fa92a02ae525cbdccbb747e4ace6a789.zip |
HDD16X0/HDD63X0: Enable power status of charging from USB.
Change-Id: I7b1e5e87921ae0770f7783680c3dbcdbf6f257f3
Diffstat (limited to 'firmware/target/arm')
-rw-r--r-- | firmware/target/arm/philips/power-hdd.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/firmware/target/arm/philips/power-hdd.c b/firmware/target/arm/philips/power-hdd.c index 05ada4b674..c33073fb5a 100644 --- a/firmware/target/arm/philips/power-hdd.c +++ b/firmware/target/arm/philips/power-hdd.c | |||
@@ -89,10 +89,8 @@ unsigned int power_input_status(void) | |||
89 | if (GPIOE_INPUT_VAL & 0x20) | 89 | if (GPIOE_INPUT_VAL & 0x20) |
90 | status |= POWER_INPUT_MAIN_CHARGER; | 90 | status |= POWER_INPUT_MAIN_CHARGER; |
91 | 91 | ||
92 | /* Do nothing with USB for now | ||
93 | if (GPIOE_INPUT_VAL & 0x4) | 92 | if (GPIOE_INPUT_VAL & 0x4) |
94 | status |= POWER_INPUT_USB_CHARGER; | 93 | status |= POWER_INPUT_USB_CHARGER; |
95 | */ | ||
96 | 94 | ||
97 | return status; | 95 | return status; |
98 | } | 96 | } |