diff options
| author | Scott Shawcroft <[email protected]> | 2018-11-07 23:04:34 -0800 |
|---|---|---|
| committer | Scott Shawcroft <[email protected]> | 2018-11-07 23:04:34 -0800 |
| commit | 7a40ec2647f06c37c6b8f0b8af2c17ba747f0aeb (patch) | |
| tree | 0224c95aa13c6203e690c9cb936b544785b97ac6 /src/device/usbd_pvt.h | |
| parent | c582c0fda972eb90d5d617436e75182ea0235542 (diff) | |
Split out the control endpoint logic
Diffstat (limited to 'src/device/usbd_pvt.h')
| -rw-r--r-- | src/device/usbd_pvt.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/device/usbd_pvt.h b/src/device/usbd_pvt.h index ecb71f771..bbbe0a604 100644 --- a/src/device/usbd_pvt.h +++ b/src/device/usbd_pvt.h @@ -45,10 +45,6 @@ extern "C" { #endif -// for used by usbd_control_xfer_st() only, must not be used directly -extern osal_semaphore_t _usbd_ctrl_sem; -extern uint8_t _usbd_ctrl_buf[CFG_TUD_CTRL_BUFSIZE]; - // Either point to tud_desc_set or usbd_auto_desc_set depending on CFG_TUD_DESC_AUTO extern tud_desc_set_t const* usbd_desc_set; @@ -64,8 +60,6 @@ void usbd_task (void* param); // helper to parse an pair of In and Out endpoint descriptors. They must be consecutive tusb_error_t usbd_open_edpt_pair(uint8_t rhport, tusb_desc_endpoint_t const* p_desc_ep, uint8_t xfer_type, uint8_t* ep_out, uint8_t* ep_in); -uint32_t usbd_control_xfer_st(uint8_t _rhport, uint8_t _dir, uint8_t* _buffer, uint16_t _len); - /*------------------------------------------------------------------*/ /* Other Helpers *------------------------------------------------------------------*/ |
