aboutsummaryrefslogtreecommitdiff
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
commitd12a5b14e11b092122a106b5dd9fb92b169eeca6 (patch)
treed73c2ba13f02e4cfda5500ff09c46fcb835170e6
parent9e14f40c20c5c0d2231836dcde6c7f42080f4c58 (diff)
usb_reg_map.c: Fix incorrect function name call.
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
-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);
}