mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-31 05:52:55 +08:00
fix #143
This commit is contained in:
parent
5a2e510af7
commit
237c32b976
@ -293,7 +293,7 @@ bool dcd_edpt_open(uint8_t rhport, tusb_desc_endpoint_t const * p_endpoint_desc)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case TUSB_XFER_ISOCHRONOUS:
|
case TUSB_XFER_ISOCHRONOUS:
|
||||||
TU_ASSERT((epnum % 3) == 3 && (epnum != 15));
|
TU_ASSERT((epnum % 3) == 0 && (epnum != 0) && (epnum != 15));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user