aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/usb/stm32f1
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2013-01-17 17:48:13 -0500
committerMarti Bolivar <mbolivar@leaflabs.com>2013-01-17 17:48:13 -0500
commit0676b01a984b999fed54f906373078ba48b50b6f (patch)
treed73c2ba13f02e4cfda5500ff09c46fcb835170e6 /libmaple/usb/stm32f1
parent91362dbfc0dc4783048da07f76d32f5304d13a89 (diff)
downloadlibrambutan-0676b01a984b999fed54f906373078ba48b50b6f.tar.gz
librambutan-0676b01a984b999fed54f906373078ba48b50b6f.zip
usb_reg_map.c: Fix incorrect function name call.
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'libmaple/usb/stm32f1')
-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 71dfa22..ea60cb3 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_rx_buf0_ptr(ep);
+ uint32 *rxc = usb_ep_rx_buf0_count_ptr(ep);
usb_set_ep_rx_count_common(rxc, count);
}