diff options
| author | hathach <[email protected]> | 2021-08-12 17:07:39 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2021-08-12 17:07:39 +0700 |
| commit | d52b981c3af06233891e827edcd484ece244a5a8 (patch) | |
| tree | 3c44efc559911984434ef9821e2bee56ba669227 /src | |
| parent | 17ef9f4843250e8c6b6b1fde53ed6a54a4f20470 (diff) | |
revert ready() check in claim (do it later in separated PR)
Diffstat (limited to 'src')
| -rw-r--r-- | src/device/usbd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/device/usbd.c b/src/device/usbd.c index bef7725b5..a15959710 100644 --- a/src/device/usbd.c +++ b/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); |
