diff options
| author | hathach <[email protected]> | 2018-12-09 12:34:05 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-12-09 12:34:05 +0700 |
| commit | 05913a73501c8e2ea1a88299f6b900f92307aaa7 (patch) | |
| tree | 45f1c103a8a76a0db86f0db4fdc959427b95276b /src/host/usbh.h | |
| parent | 637285e9ae81b1703dbf38b3e9aac7b4a002a601 (diff) | |
change usbh class driver open signature
Diffstat (limited to 'src/host/usbh.h')
| -rw-r--r-- | src/host/usbh.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/host/usbh.h b/src/host/usbh.h index 039997a24..584d8cdbd 100644 --- a/src/host/usbh.h +++ b/src/host/usbh.h @@ -65,7 +65,7 @@ typedef enum tusb_interface_status_{ typedef struct { void (* const init) (void); - bool (* const open_subtask)(uint8_t, tusb_desc_interface_t const *, uint16_t*); + bool (* const open_subtask)(uint8_t rhport, uint8_t dev_addr, tusb_desc_interface_t const *, uint16_t* outlen); void (* const isr) (pipe_handle_t, xfer_result_t, uint32_t); void (* const close) (uint8_t); } host_class_driver_t; |
