Update example-fs-bb48

This commit is contained in:
NIIBE Yutaka
2016-05-23 13:48:24 +09:00
parent ee92bb15b3
commit b6603f6771
6 changed files with 469 additions and 312 deletions

View File

@@ -119,7 +119,7 @@ main (int argc, const char *argv[])
u = 1;
tty_wait_connection (tty);
chopstx_usec_wait (500*1000);
chopstx_usec_wait (50*1000);
/* Send ZLP at the beginning. */
tty_send (tty, s, 0);

View File

@@ -378,8 +378,7 @@ vcom_setup_endpoints_for_interface (uint16_t interface, int stop)
{
usb_lld_setup_endpoint (ENDP1, EP_BULK, 0, 0, ENDP1_TXADDR, 0);
usb_lld_setup_endpoint (ENDP3, EP_BULK, 0, ENDP3_RXADDR, 0, 64);
/* Start with no data receiving */
usb_lld_stall_rx (ENDP3);
/* Start with no data receiving (ENDP3 not enabled)*/
}
else
{