Revert disabling of USB HID while in charging mode (introduced by r23322), in
order to prevent having no interface at all when USB HID is disabled and the DAP is connected in charge-only mode (thanks for gevaerts for noticing). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23323 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
83d24f89df
commit
92737a3877
1 changed files with 1 additions and 1 deletions
|
@ -288,7 +288,7 @@ static void usb_thread(void)
|
|||
#ifdef USB_ENABLE_CHARGING_ONLY
|
||||
usb_core_enable_driver(USB_DRIVER_HID, false);
|
||||
#else
|
||||
usb_core_enable_driver(USB_DRIVER_HID, usb_hid);
|
||||
usb_core_enable_driver(USB_DRIVER_HID, true);
|
||||
#endif /* USB_ENABLE_CHARGING_ONLY */
|
||||
#endif /* USB_ENABLE_HID */
|
||||
|
||||
|
|
Loading…
Reference in a new issue