Hi Chris,
It is a known issue, the correct code should be:
if (!usb_dev_ptr->xd_entries)
{
OS_Unlock();
return USBERR_DEVICE_BUSY;
}
The fixed code will be released at this December.
Thank you.
Wish it helps.
best regards
Ma Hui
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------