hathach %!s(int64=6) %!d(string=hai) anos
pai
achega
a37d2d64be
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/portable/nxp/lpc17_40/dcd_lpc17_40.c

+ 1 - 1
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;
       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: