fix enumeration issue when plugging hub with multiple devices attached

This commit is contained in:
hathach
2022-03-10 23:16:59 +07:00
parent 171d021ab5
commit 66c933fb61
4 changed files with 70 additions and 60 deletions

View File

@@ -80,7 +80,8 @@ static inline bool tuh_ready(uint8_t daddr)
return tuh_mounted(daddr) && !tuh_suspended(daddr);
}
// Carry out control transfer
// Carry out a control transfer
// true on success, false if there is on-going control trasnfer
bool tuh_control_xfer (uint8_t daddr, tusb_control_request_t const* request, void* buffer, tuh_control_complete_cb_t complete_cb);
// Set Configuration