1
0
Fork 0
forked from len0rd/rockbox

Fix #ifdef nesting to allow USB_HID to be built without USB_CHARGING_ONLY (FS#10236 by Tomer Shalev)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21052 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Frank Gevaerts 2009-05-23 12:41:46 +00:00
parent 802ea462d0
commit bca3d3dca4

View file

@ -238,6 +238,7 @@ static struct usb_class_driver drivers[USB_NUM_DRIVERS] =
.notify_hotswap = NULL,
#endif
},
#endif
#ifdef USB_HID
[USB_DRIVER_HID] = {
.enabled = false,
@ -257,7 +258,6 @@ static struct usb_class_driver drivers[USB_NUM_DRIVERS] =
#endif
},
#endif
#endif
};
static void usb_core_control_request_handler(struct usb_ctrlrequest* req);