summaryrefslogtreecommitdiff
path: root/src/host/usbh_hcd.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2020-11-02 09:19:34 +0700
committerhathach <[email protected]>2020-11-02 09:19:34 +0700
commit14461beffa4f2e12bc37d523701be65fabd0d8ce (patch)
tree3559622b877e1fc571cb6164d3803f7faa0d917f /src/host/usbh_hcd.h
parent2efdc2fb64fec2cba26dc3fd4651583bc0dcf7b3 (diff)
remove legacy blocking usbh_control_xfer()
reworking cdc host driver
Diffstat (limited to 'src/host/usbh_hcd.h')
-rw-r--r--src/host/usbh_hcd.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/host/usbh_hcd.h b/src/host/usbh_hcd.h
index dd0616704..abc7fd250 100644
--- a/src/host/usbh_hcd.h
+++ b/src/host/usbh_hcd.h
@@ -75,16 +75,6 @@ typedef struct {
volatile uint8_t state; // device state, value from enum tusbh_device_state_t
- //------------- control pipe -------------//
- struct {
- volatile uint8_t pipe_status;
-// uint8_t xferred_bytes; TODO not yet necessary
- tusb_control_request_t request;
-
- osal_semaphore_def_t sem_def;
- osal_semaphore_t sem_hdl; // used to synchronize with HCD when control xfer complete
- } control;
-
uint8_t itf2drv[16]; // map interface number to driver (0xff is invalid)
uint8_t ep2drv[CFG_TUH_EP_MAX][2]; // map endpoint to driver ( 0xff is invalid )