diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-11-16 11:02:30 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-11-16 11:02:30 +0000 |
commit | 038f0a243d8041c832bb025d1ed0fd3a05e5f9ae (patch) | |
tree | c27058324d254674320a8928a657cf3ba68ce33b /os | |
parent | 7f125090039adbe5c28e052584c7c32684ab5ec4 (diff) | |
download | ChibiOS-038f0a243d8041c832bb025d1ed0fd3a05e5f9ae.tar.gz ChibiOS-038f0a243d8041c832bb025d1ed0fd3a05e5f9ae.tar.bz2 ChibiOS-038f0a243d8041c832bb025d1ed0fd3a05e5f9ae.zip |
Fixed bug bug #660.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8496 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r-- | os/hal/ports/STM32/LLD/USBv1/usb_lld.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/ports/STM32/LLD/USBv1/usb_lld.c b/os/hal/ports/STM32/LLD/USBv1/usb_lld.c index 3a97e123a..40a5664fb 100644 --- a/os/hal/ports/STM32/LLD/USBv1/usb_lld.c +++ b/os/hal/ports/STM32/LLD/USBv1/usb_lld.c @@ -525,7 +525,7 @@ void usb_lld_reset(USBDriver *usbp) { uint32_t cntr;
/* Post reset initialization.*/
- STM32_USB->BTABLE = 0;
+ STM32_USB->BTABLE = BTABLE_ADDR;
STM32_USB->ISTR = 0;
STM32_USB->DADDR = DADDR_EF;
cntr = /*CNTR_ESOFM | */ CNTR_RESETM | CNTR_SUSPM |
|