diff options
| author | hathach <[email protected]> | 2021-05-18 13:08:30 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2021-05-18 13:08:30 +0700 |
| commit | 40cd3a7e203a3428643e5a91044d21152cddccbe (patch) | |
| tree | 62bcfe8647091b464ef9fff65f39c3d43a4899b4 /src/device | |
| parent | ffdcf9a0d00ad8eba544c4404e27275685ef9cab (diff) | |
| parent | 4f84185b43f60a4ae0a579975646434358fee533 (diff) | |
Merge branch 'master' into host-hid
Diffstat (limited to 'src/device')
| -rw-r--r-- | src/device/usbd_pvt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/usbd_pvt.h b/src/device/usbd_pvt.h index 412a97a5d..44310f022 100644 --- a/src/device/usbd_pvt.h +++ b/src/device/usbd_pvt.h @@ -47,7 +47,7 @@ typedef struct void (* reset ) (uint8_t rhport); uint16_t (* open ) (uint8_t rhport, tusb_desc_interface_t const * desc_intf, uint16_t max_len); bool (* control_xfer_cb ) (uint8_t rhport, uint8_t stage, tusb_control_request_t const * request); - bool (* xfer_cb ) (uint8_t rhport, uint8_t ep_addr, xfer_result_t event, uint32_t xferred_bytes); + bool (* xfer_cb ) (uint8_t rhport, uint8_t ep_addr, xfer_result_t result, uint32_t xferred_bytes); void (* sof ) (uint8_t rhport); /* optional */ } usbd_class_driver_t; |
