summaryrefslogtreecommitdiff
path: root/src/stm32f4/ao_usb_gen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stm32f4/ao_usb_gen.c')
-rw-r--r--src/stm32f4/ao_usb_gen.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/stm32f4/ao_usb_gen.c b/src/stm32f4/ao_usb_gen.c
index 760afad9..7659dabe 100644
--- a/src/stm32f4/ao_usb_gen.c
+++ b/src/stm32f4/ao_usb_gen.c
@@ -449,7 +449,7 @@ ao_usb_int_interrupt(uint32_t mask)
}
void
-stm_usb_fs_wkup(void)
+stm_otg_fs_wkup_isr(void)
{
/* USB wakeup, just clear the bit for now */
// stm_usb.istr &= ~(1 << STM_USB_ISTR_WKUP);
@@ -547,7 +547,7 @@ _ao_usb_out_recv(void)
ao_usb_rx_pos = 0;
}
-int
+static int
_ao_usb_pollchar(void)
{
uint8_t c;
@@ -601,7 +601,6 @@ void
ao_usb_enable(void)
{
ao_usb_dev_enable();
-
ao_usb_configuration = 0;
}