Fixed CDC and RNDIS host demos and class drivers - bidirectional endpoints should use two seperate pipes, not one half-duplex pipe.
This commit is contained in:
parent
74b6993d66
commit
431db89b00
10 changed files with 25 additions and 140 deletions
|
@ -174,7 +174,7 @@ void ProcessIncommingPacket(void)
|
|||
LEDs_SetAllLEDs(LEDMASK_USB_BUSY);
|
||||
|
||||
/* Read the incomming packet straight into the UIP packet buffer */
|
||||
printf("L=%d R=%d\r\n", uip_len, RNDIS_Host_ReadPacket(&Ethernet_RNDIS_Interface, &uip_buf[0], &uip_len));
|
||||
RNDIS_Host_ReadPacket(&Ethernet_RNDIS_Interface, &uip_buf[0], &uip_len);
|
||||
|
||||
if (uip_len > 0)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue