diff options
| author | hathach <[email protected]> | 2019-09-16 16:37:27 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-09-16 16:37:27 +0700 |
| commit | 0c70948d0d97d89b37ec35bba4c7ee0365232e1a (patch) | |
| tree | d2921f6585a093efefcdbb3ef645ff2983a02259 | |
| parent | 88dd83ae5cbe782db05c01850a2f4bb2e2b0247b (diff) | |
| parent | a37d2d64beaea07d17b24d8b61bfa09b89ee5bba (diff) | |
Merge pull request #163 from hathach/develop
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: |
