Comment out assert() - TODO: fix assert on Teensy3

This commit is contained in:
PaulStoffregen 2013-05-29 10:42:21 -07:00
parent c9815144af
commit 8c89442590

View file

@ -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 pktsize = regRd(rRCVBC); //number of received bytes
//printf("Got %i bytes ", pktsize); //printf("Got %i bytes ", pktsize);
assert(pktsize <= nbytes); //assert(pktsize <= nbytes);
int16_t mem_left = (int16_t)nbytes - *((int16_t*)nbytesptr); int16_t mem_left = (int16_t)nbytes - *((int16_t*)nbytesptr);