diff options
| author | Ha Thach <[email protected]> | 2020-11-23 13:06:20 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-11-23 13:06:20 +0700 |
| commit | 49f09f55d063876fcd33d21bbe30a940ac5bcf68 (patch) | |
| tree | 699295b00d1169fae133fc867cc3c58b0b23def6 /src/device/usbd.h | |
| parent | 589dfdb0e58fe6630f2b67c49c7f682ac51aba8f (diff) | |
| parent | e4144d8b47b438ff57a09c54de49e7e6c68d9343 (diff) | |
Merge pull request #557 from hathach/rework-class-driver-control
Rework class driver control transfer
Diffstat (limited to 'src/device/usbd.h')
| -rw-r--r-- | src/device/usbd.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/device/usbd.h b/src/device/usbd.h index e88f64ba8..ef248e4ca 100644 --- a/src/device/usbd.h +++ b/src/device/usbd.h @@ -125,11 +125,7 @@ TU_ATTR_WEAK void tud_suspend_cb(bool remote_wakeup_en); TU_ATTR_WEAK void tud_resume_cb(void); // Invoked when received control request with VENDOR TYPE -TU_ATTR_WEAK bool tud_vendor_control_request_cb(uint8_t rhport, tusb_control_request_t const * request); - -// Invoked when vendor control request is complete -TU_ATTR_WEAK bool tud_vendor_control_complete_cb(uint8_t rhport, tusb_control_request_t const * request); - +TU_ATTR_WEAK bool tud_vendor_control_xfer_cb(uint8_t rhport, uint8_t stage, tusb_control_request_t const * request); //--------------------------------------------------------------------+ // Binary Device Object Store (BOS) Descriptor Templates |
