diff options
Diffstat (limited to 'libmaple/usb/stm32f1/usb_reg_map.c')
-rw-r--r-- | libmaple/usb/stm32f1/usb_reg_map.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmaple/usb/stm32f1/usb_reg_map.c b/libmaple/usb/stm32f1/usb_reg_map.c index 71bbe0d..71dfa22 100644 --- a/libmaple/usb/stm32f1/usb_reg_map.c +++ b/libmaple/usb/stm32f1/usb_reg_map.c @@ -78,7 +78,7 @@ static void usb_set_ep_rx_count_common(uint32 *rxc, uint16 count) { } void usb_set_ep_rx_buf0_count(uint8 ep, uint16 count) { - uint32 *rxc = usb_ep_tx_count_ptr(ep); + uint32 *rxc = usb_ep_rx_buf0_ptr(ep); usb_set_ep_rx_count_common(rxc, count); } |