summaryrefslogtreecommitdiff
path: root/firmware/export/usb_core.h
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2009-05-23 14:30:20 +0000
committerFrank Gevaerts <frank@gevaerts.be>2009-05-23 14:30:20 +0000
commitc61a75173b2e81ea3ae3aa1d3cdf84d15e4304c3 (patch)
treef9056ad1a886d1741b009a6d026b689e18040a17 /firmware/export/usb_core.h
parentbca3d3dca44bbe111d8e8595932d2a9491679dab (diff)
downloadrockbox-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/export/usb_core.h')
-rw-r--r--firmware/export/usb_core.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/firmware/export/usb_core.h b/firmware/export/usb_core.h
index 9c105fbc7c..c65be5fa3c 100644
--- a/firmware/export/usb_core.h
+++ b/firmware/export/usb_core.h
@@ -21,16 +21,6 @@
21#ifndef USB_CORE_H 21#ifndef USB_CORE_H
22#define USB_CORE_H 22#define USB_CORE_H
23 23
24#ifndef BOOTLOADER
25
26//#define USB_SERIAL
27#define USB_STORAGE
28#define USB_CHARGING_ONLY
29//#define USB_HID
30#else /* BOOTLOADER */
31#define USB_CHARGING_ONLY
32#endif /* BOOTLOADER */
33
34#include "usb_ch9.h" 24#include "usb_ch9.h"
35#include "usb.h" 25#include "usb.h"
36 26