diff options
| author | hathach <[email protected]> | 2019-09-16 13:32:47 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2019-09-16 13:32:47 +0700 |
| commit | a37d2d64beaea07d17b24d8b61bfa09b89ee5bba (patch) | |
| tree | 5dd700341b069628d16e333ea728acca7727be0b /src/portable/nxp | |
| parent | 9c5ae0369b2113ca3c7c8ac1240315ac1e7f1190 (diff) | |
fix #143
Diffstat (limited to 'src/portable/nxp')
| -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: |
