altos/stm: Handle USB reset in STM32L usb driver
authorKeith Packard <keithp@keithp.com>
Fri, 10 Jun 2016 21:39:25 +0000 (14:39 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 10 Jun 2016 21:39:25 +0000 (14:39 -0700)
commit7d21ff641a7bc35318f0f637589eabb5bb6c5152
tree70c808a6d7b98a76c391928e6dc662017326706e
parent54f8d53584d0a902676b441cd122c01cd54f2283
altos/stm: Handle USB reset in STM32L usb driver

Just like lpc and stmf0, deal with the host resetting the bus while
rebooting by restoring all usb-related data to the initial values.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/stm/ao_usb_stm.c