From 24465f8e1779a9da54d03c5600da323bcdfab556 Mon Sep 17 00:00:00 2001 From: Manuel Odendahl Date: Thu, 17 Jan 2013 21:09:07 +0100 Subject: Rename misleading ptr function Signed-off-by: Manuel Odendahl --- libmaple/usb/stm32f1/usb_reg_map.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libmaple/usb') 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); } -- cgit v1.2.3