diff --git a/os/hal/src/usb.c b/os/hal/src/usb.c index 2bf845e6e..db4d826c1 100644 --- a/os/hal/src/usb.c +++ b/os/hal/src/usb.c @@ -619,6 +619,7 @@ void _usb_ep0setup(USBDriver *usbp, usbep_t ep) { usb_lld_stall_out(usbp, 0); _usb_isr_invoke_event_cb(usbp, USB_EVENT_STALLED); usbp->ep0state = USB_EP0_ERROR; + return; } } diff --git a/readme.txt b/readme.txt index cfccd8dd8..5f21cb314 100644 --- a/readme.txt +++ b/readme.txt @@ -82,6 +82,7 @@ ***************************************************************************** *** 2.5.0 *** +- FIX: Fixed anomaly in USB enumeration (bug 3565325)(backported to 2.4.3). - FIX: Fixed problem with lwIP statistics (bug 3564134)(backported to 2.4.3). - FIX: Fixed packed structures macros not functional in IAR and RVCT port (bug 3561279)(backported to 2.4.3 and 2.2.10).