mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
HDD16X0/HDD63X0: Enable power status of charging from USB.
Change-Id: I7b1e5e87921ae0770f7783680c3dbcdbf6f257f3
This commit is contained in:
parent
e3deec949d
commit
a0b79ce7fa
1 changed files with 0 additions and 2 deletions
|
|
@ -89,10 +89,8 @@ unsigned int power_input_status(void)
|
||||||
if (GPIOE_INPUT_VAL & 0x20)
|
if (GPIOE_INPUT_VAL & 0x20)
|
||||||
status |= POWER_INPUT_MAIN_CHARGER;
|
status |= POWER_INPUT_MAIN_CHARGER;
|
||||||
|
|
||||||
/* Do nothing with USB for now
|
|
||||||
if (GPIOE_INPUT_VAL & 0x4)
|
if (GPIOE_INPUT_VAL & 0x4)
|
||||||
status |= POWER_INPUT_USB_CHARGER;
|
status |= POWER_INPUT_USB_CHARGER;
|
||||||
*/
|
|
||||||
|
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue