fixing build error with host stack

This commit is contained in:
hathach
2018-12-05 18:58:30 +07:00
parent e0aa38ca8d
commit 4537ba66e5
8 changed files with 82 additions and 89 deletions

View File

@@ -91,7 +91,10 @@ typedef struct {
// 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
osal_mutex_def_t mutex_def;
osal_mutex_t mutex_hdl; // used to exclusively occupy control pipe
} control;
} usbh_device_info_t;