Browse Source

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

hathach 4 years ago
parent
commit
d52b981c3a
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/device/usbd.c

+ 2 - 1
src/device/usbd.c

@@ -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);