revert ready() check in claim (do it later in separated PR)

This commit is contained in:
hathach 2021-08-12 17:07:39 +07:00
parent 17ef9f4843
commit d52b981c3a
No known key found for this signature in database
GPG Key ID: 2FA891220FBFD581
1 changed files with 2 additions and 1 deletions

View File

@ -1191,7 +1191,8 @@ bool usbd_edpt_claim(uint8_t rhport, uint8_t ep_addr)
{
(void) rhport;
TU_VERIFY(tud_ready());
// TODO add this check later, also make sure we don't starve an out endpoint while suspending
// TU_VERIFY(tud_ready());
uint8_t const epnum = tu_edpt_number(ep_addr);
uint8_t const dir = tu_edpt_dir(ep_addr);