diff options
Diffstat (limited to 'firmware/usbstack/controller.h')
| -rw-r--r-- | firmware/usbstack/controller.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/usbstack/controller.h b/firmware/usbstack/controller.h index d626899..4e74203 100644 --- a/firmware/usbstack/controller.h +++ b/firmware/usbstack/controller.h @@ -38,14 +38,14 @@ struct usb_controller { struct usb_dcd_controller_ops { /* endpoint management */ - int (*enable)(struct usb_ep* ep); + int (*enable)(struct usb_ep* ep, struct usb_endpoint_descriptor* desc); int (*disable)(struct usb_ep* ep); int (*set_halt)(struct usb_ep* ep, bool hald); - + /* transmitting */ int (*send)(struct usb_ep* ep, struct usb_response* req); int (*receive)(struct usb_ep* ep, struct usb_response* res); - + /* ep0 */ struct usb_ep* ep0; }; |