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:
parent
802ea462d0
commit
bca3d3dca4
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue