diff options
Diffstat (limited to 'firmware/usbstack/usb_storage.h')
-rw-r--r-- | firmware/usbstack/usb_storage.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/firmware/usbstack/usb_storage.h b/firmware/usbstack/usb_storage.h index 7baef466f6..e657e03825 100644 --- a/firmware/usbstack/usb_storage.h +++ b/firmware/usbstack/usb_storage.h @@ -21,11 +21,12 @@ #include "usb_ch9.h" -int usb_storage_get_config_descriptor(unsigned char *dest,int max_packet_size, - int interface_number,int endpoint); -void usb_storage_init_connection(int interface,int endpoint); +int usb_storage_set_first_endpoint(int endpoint); +int usb_storage_set_first_interface(int interface); +int usb_storage_get_config_descriptor(unsigned char *dest,int max_packet_size); +void usb_storage_init_connection(void); void usb_storage_init(void); -void usb_storage_transfer_complete(bool in,int state,int length); +void usb_storage_transfer_complete(int ep,bool in,int state,int length); bool usb_storage_control_request(struct usb_ctrlrequest* req); #ifdef HAVE_HOTSWAP void usb_storage_notify_hotswap(int volume,bool inserted); |