USB cleanup

This commit is contained in:
NIIBE Yutaka
2016-05-30 20:06:43 +09:00
parent a933eebfd5
commit 1ae3caf7fc
7 changed files with 110 additions and 63 deletions

View File

@@ -972,7 +972,7 @@ void usb_lld_setup_endpoint (int ep_num, int ep_type, int ep_kind,
if (ep_rx_addr)
{
ep_rxtx_status |= EP_RX_VALID;
ep_rxtx_status |= EP_RX_NAK;
st103_set_rx_addr (ep_num, ep_rx_addr);
st103_set_rx_buf_size (ep_num, ep_rx_buf_size);
}