summaryrefslogtreecommitdiff
path: root/src/device/usbd_pvt.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2019-07-16 18:14:47 +0700
committerhathach <[email protected]>2019-07-16 18:14:47 +0700
commit036e858543dce1c19ff789b69907680500e28ca6 (patch)
tree6ecc1bd798a28be698db801e2d25e0a576442aa4 /src/device/usbd_pvt.h
parentcb4e6837e9f1aa02644e1ad88ffff43b59470a4e (diff)
add tud_control_vendor_request_cb()/tud_control_vendor_complete_cb(), expose usbd control transfer
rename usbd_control_transfer/status to tud_control_transfer/status
Diffstat (limited to 'src/device/usbd_pvt.h')
-rw-r--r--src/device/usbd_pvt.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/device/usbd_pvt.h b/src/device/usbd_pvt.h
index 706857d45..06f7a3afe 100644
--- a/src/device/usbd_pvt.h
+++ b/src/device/usbd_pvt.h
@@ -39,14 +39,6 @@ bool usbd_init (void);
// USBD Endpoint API
//--------------------------------------------------------------------+
-// Carry out Data and Status stage of control transfer
-// - If len = 0, it is equivalent to sending status only
-// - If len > wLength : it will be truncated
-bool usbd_control_xfer(uint8_t rhport, tusb_control_request_t const * request, void* buffer, uint16_t len);
-
-// Send STATUS (zero length) packet
-bool usbd_control_status(uint8_t rhport, tusb_control_request_t const * request);
-
// Submit a usb transfer
bool usbd_edpt_xfer (uint8_t rhport, uint8_t ep_addr, uint8_t * buffer, uint16_t total_bytes);