mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Comment out assert() - TODO: fix assert on Teensy3
This commit is contained in:
parent
c9815144af
commit
8c89442590
1 changed files with 1 additions and 1 deletions
2
Usb.cpp
2
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
|
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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue