From 1ae3caf7fc8d9d1073684bf2da91b552065a41a7 Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka <gniibe@fsij.org> Date: Mon, 30 May 2016 20:06:43 +0900 Subject: USB cleanup --- mcu/usb-stm32f103.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mcu/usb-stm32f103.c') 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); } -- cgit v1.2.3