From 8c89442590edbc99725955bc5283a46185532b29 Mon Sep 17 00:00:00 2001 From: PaulStoffregen Date: Wed, 29 May 2013 10:42:21 -0700 Subject: [PATCH] Comment out assert() - TODO: fix assert on Teensy3 --- Usb.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Usb.cpp b/Usb.cpp index c73760e2..a777ed8d 100644 --- a/Usb.cpp +++ b/Usb.cpp @@ -241,7 +241,7 @@ uint8_t USB::InTransfer(EpInfo *pep, uint16_t nak_limit, uint16_t *nbytesptr, ui } pktsize = regRd(rRCVBC); //number of received bytes //printf("Got %i bytes ", pktsize); - assert(pktsize <= nbytes); + //assert(pktsize <= nbytes); int16_t mem_left = (int16_t)nbytes - *((int16_t*)nbytesptr);