forked from len0rd/rockbox
some progress towards software-selectability of usb class drivers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16422 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
30b129d025
commit
7bf5722a9d
2 changed files with 69 additions and 37 deletions
|
|
@ -61,6 +61,17 @@
|
|||
#endif
|
||||
#endif /* HAVE_USB_POWER */
|
||||
|
||||
#ifdef HAVE_USBSTACK
|
||||
/* USB class drivers */
|
||||
enum {
|
||||
USB_DRIVER_MASS_STORAGE,
|
||||
USB_DRIVER_SERIAL,
|
||||
USB_DRIVER_CHARGING_ONLY,
|
||||
USB_DRIVER_COUNT
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
void usb_init(void);
|
||||
void usb_enable(bool on);
|
||||
void usb_start_monitoring(void);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue