forked from len0rd/rockbox
Revert 64d048be. It breaks h300.
HAVE_USB_CHARGING_ENABLE is not only used for software usb, so checking for HAVE_USBSTACK is wrong. Change-Id: I422796b517c262f33f35623e992434219e288424
This commit is contained in:
parent
64d048be2b
commit
18f0ba003c
4 changed files with 5 additions and 5 deletions
|
|
@ -1020,7 +1020,7 @@ void settings_apply(bool read_disk)
|
|||
touchpad_set_sensitivity(global_settings.touchpad_sensitivity);
|
||||
#endif
|
||||
|
||||
#if defined (HAVE_USBSTACK) && defined(HAVE_USB_CHARGING_ENABLE)
|
||||
#ifdef HAVE_USB_CHARGING_ENABLE
|
||||
usb_charging_enable(global_settings.usb_charging);
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue