summaryrefslogtreecommitdiff
path: root/chip/stm32/usb_dwc.c
diff options
context:
space:
mode:
Diffstat (limited to 'chip/stm32/usb_dwc.c')
-rw-r--r--chip/stm32/usb_dwc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/chip/stm32/usb_dwc.c b/chip/stm32/usb_dwc.c
index 6c504b2ae9..b37ab46f34 100644
--- a/chip/stm32/usb_dwc.c
+++ b/chip/stm32/usb_dwc.c
@@ -12,7 +12,7 @@
#include "hooks.h"
#include "link_defs.h"
#include "registers.h"
-#include "usb_dwc_hw.h"
+#include "usb_hw.h"
#include "system.h"
#include "task.h"
#include "timer.h"
@@ -967,7 +967,7 @@ static void usb_init_endpoints(void)
/* Reset the other endpoints */
for (ep = 1; ep < USB_EP_COUNT; ep++)
- usb_ep_reset[ep]();
+ usb_ep_event[ep](USB_EVENT_RESET);
}
static void usb_reset(void)