From 96c446b4dba6814d61317efb4d2dc99a3ca29e0c Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Mon, 18 Mar 2019 17:20:52 -0700 Subject: altos/stm32f4: Working on USB Reset now works, still no packets Signed-off-by: Keith Packard --- src/stm32f4/ao_usb_gen.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/stm32f4/ao_usb_gen.c') 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; } -- cgit v1.2.3