aboutsummaryrefslogtreecommitdiff
path: root/mcu/usb-stm32f103.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2016-05-30 20:06:43 +0900
committerNIIBE Yutaka <gniibe@fsij.org>2016-05-30 20:06:43 +0900
commit1ae3caf7fc8d9d1073684bf2da91b552065a41a7 (patch)
tree36c893427725d31e449b51b3e142edc13774d66e /mcu/usb-stm32f103.c
parenta933eebfd5ee2defdb149a30b31f55010ffefc34 (diff)
USB cleanup
Diffstat (limited to 'mcu/usb-stm32f103.c')
-rw-r--r--mcu/usb-stm32f103.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcu/usb-stm32f103.c b/mcu/usb-stm32f103.c
index a709fb6..73c32c3 100644
--- a/mcu/usb-stm32f103.c
+++ b/mcu/usb-stm32f103.c
@@ -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);
}