mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
Reorganise USB stack defines. Now config.h decides which class drivers get enabled instead of usb_core.h
Also enable HID, and use that as the dummy class instead of charging-only for controllers that have working interrupt transfers. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21053 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
bca3d3dca4
commit
c61a75173b
13 changed files with 79 additions and 52 deletions
|
@ -33,8 +33,6 @@
|
|||
#include "usb_storage.h"
|
||||
|
||||
|
||||
#ifdef USB_STORAGE
|
||||
|
||||
/* Enable the following define to export only the SD card slot. This
|
||||
* is useful for USBCV MSC tests, as those are destructive.
|
||||
* This won't work right if the device doesn't have a card slot.
|
||||
|
@ -1158,5 +1156,3 @@ static void fill_inquiry(IF_MV_NONVOID(int lun))
|
|||
tb.inquiry->DeviceTypeModifier = DEVICE_REMOVABLE;
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif /* USB_STORAGE */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue