more hub improve, handle more failed transfer with polling interrupt status endpoint

This commit is contained in:
hathach
2025-02-19 15:50:42 +07:00
parent 27a4895b79
commit 70ddb7a867
3 changed files with 123 additions and 128 deletions

View File

@@ -920,7 +920,6 @@ bool usbh_edpt_release(uint8_t dev_addr, uint8_t ep_addr) {
}
// Submit an transfer
// TODO call usbh_edpt_release if failed
bool usbh_edpt_xfer_with_callback(uint8_t dev_addr, uint8_t ep_addr, uint8_t* buffer, uint16_t total_bytes,
tuh_xfer_cb_t complete_cb, uintptr_t user_data) {
(void) complete_cb;