diff options
author | Frank Gevaerts <frank@gevaerts.be> | 2009-05-23 14:30:20 +0000 |
---|---|---|
committer | Frank Gevaerts <frank@gevaerts.be> | 2009-05-23 14:30:20 +0000 |
commit | c61a75173b2e81ea3ae3aa1d3cdf84d15e4304c3 (patch) | |
tree | f9056ad1a886d1741b009a6d026b689e18040a17 /firmware/usbstack/usb_storage.c | |
parent | bca3d3dca44bbe111d8e8595932d2a9491679dab (diff) | |
download | rockbox-c61a75173b2e81ea3ae3aa1d3cdf84d15e4304c3.tar.gz rockbox-c61a75173b2e81ea3ae3aa1d3cdf84d15e4304c3.zip |
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
Diffstat (limited to 'firmware/usbstack/usb_storage.c')
-rw-r--r-- | firmware/usbstack/usb_storage.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/firmware/usbstack/usb_storage.c b/firmware/usbstack/usb_storage.c index b498311014..63ff4f059b 100644 --- a/firmware/usbstack/usb_storage.c +++ b/firmware/usbstack/usb_storage.c | |||
@@ -33,8 +33,6 @@ | |||
33 | #include "usb_storage.h" | 33 | #include "usb_storage.h" |
34 | 34 | ||
35 | 35 | ||
36 | #ifdef USB_STORAGE | ||
37 | |||
38 | /* Enable the following define to export only the SD card slot. This | 36 | /* Enable the following define to export only the SD card slot. This |
39 | * is useful for USBCV MSC tests, as those are destructive. | 37 | * is useful for USBCV MSC tests, as those are destructive. |
40 | * This won't work right if the device doesn't have a card slot. | 38 | * 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)) | |||
1158 | tb.inquiry->DeviceTypeModifier = DEVICE_REMOVABLE; | 1156 | tb.inquiry->DeviceTypeModifier = DEVICE_REMOVABLE; |
1159 | #endif | 1157 | #endif |
1160 | } | 1158 | } |
1161 | |||
1162 | #endif /* USB_STORAGE */ | ||