diff options
Diffstat (limited to 'mcu/usb-stm32f103.c')
-rw-r--r-- | mcu/usb-stm32f103.c | 2 |
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); } |