Skip to content
Commit f01a7250 authored by Josef Gajdusek's avatar Josef Gajdusek Committed by Kumar Gala
Browse files

drivers: usb_dc_stm32: Reinitialize the write semaphores on bus reset



If the user attempts to send data before the USB connection is
established (see the HID sample for an example of such code), the
DataInCallback never gets called which leaves the write semaphore in a
taken state forever.

Signed-off-by: default avatarJosef Gajdusek <atx@atx.name>
parent 29ffcae8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment