aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple
diff options
context:
space:
mode:
authorManuel Odendahl <wesen@ruinwesen.com>2013-01-17 21:09:07 +0100
committerManuel Odendahl <wesen@ruinwesen.com>2013-01-17 21:09:07 +0100
commit24465f8e1779a9da54d03c5600da323bcdfab556 (patch)
tree9056610a2d12f9374871ff3fdbc037772d3b9aae /libmaple
parent916df2bc55c63188adc0dad9946535ba7f3e4cda (diff)
downloadlibrambutan-24465f8e1779a9da54d03c5600da323bcdfab556.tar.gz
librambutan-24465f8e1779a9da54d03c5600da323bcdfab556.zip
Rename misleading ptr function
Signed-off-by: Manuel Odendahl <wesen@ruinwesen.com>
Diffstat (limited to 'libmaple')
-rw-r--r--libmaple/usb/stm32f1/usb_reg_map.c2
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);
}