diff options
| author | hathach <[email protected]> | 2019-09-16 13:32:47 +0700 |
|---|---|---|
| committer | Nathan Conrad <[email protected]> | 2019-09-17 13:29:42 -0400 |
| commit | 237c32b976d605087dd0b2c5013f7f2ae4bae46f (patch) | |
| tree | 62a71b713e36b28d278b0dbe3d6ce6700a1d066f | |
| parent | 5a2e510af73e84284343420fd76388369e70f7f5 (diff) | |
fix #143
| -rw-r--r-- | src/portable/nxp/lpc17_40/dcd_lpc17_40.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/portable/nxp/lpc17_40/dcd_lpc17_40.c b/src/portable/nxp/lpc17_40/dcd_lpc17_40.c index 2b49f52e9..d5f90d2a7 100644 --- a/src/portable/nxp/lpc17_40/dcd_lpc17_40.c +++ b/src/portable/nxp/lpc17_40/dcd_lpc17_40.c @@ -293,7 +293,7 @@ bool dcd_edpt_open(uint8_t rhport, tusb_desc_endpoint_t const * p_endpoint_desc) break; case TUSB_XFER_ISOCHRONOUS: - TU_ASSERT((epnum % 3) == 3 && (epnum != 15)); + TU_ASSERT((epnum % 3) == 0 && (epnum != 0) && (epnum != 15)); break; default: |
