Fix USB driver and example

This commit is contained in:
NIIBE Yutaka
2016-04-18 17:23:10 +09:00
parent 82749ab97a
commit 0bbb43dd3a
4 changed files with 136 additions and 17 deletions

View File

@@ -863,8 +863,8 @@ handle_transaction (uint8_t stat)
if ((stat & 0x08) == 0)
{
dev_p->recv++;
usb_cb_rx_ready (ep_num);
ep[ep_num].rx_odd ^= 1;
usb_cb_rx_ready (ep_num);
}
else
{