From 92737a38771dea8813d8fab4b41263f755cd1544 Mon Sep 17 00:00:00 2001 From: Tomer Shalev Date: Fri, 23 Oct 2009 13:52:21 +0000 Subject: [PATCH] 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 --- firmware/usb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/usb.c b/firmware/usb.c index dd0ef9dfe4..ccf12c197d 100644 --- a/firmware/usb.c +++ b/firmware/usb.c @@ -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 */