summaryrefslogtreecommitdiff
path: root/src/stm32f4/ao_usb_gen.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2019-03-18 17:20:52 -0700
committerKeith Packard <keithp@keithp.com>2019-03-18 17:22:22 -0700
commit96c446b4dba6814d61317efb4d2dc99a3ca29e0c (patch)
treed260a3c4614d046c159927e10a87fa64a122223f /src/stm32f4/ao_usb_gen.c
parente38e1a2f735a1bb4aebf0817cdd99a05567c6340 (diff)
altos/stm32f4: Working on USB
Reset now works, still no packets Signed-off-by: Keith Packard <keithp@keithp.com>
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;
}