If a loaded endpoint was disabled and then reconfigured, it is not possible to start an IN transfer and usb_dc_ep_write() returns -EAGAIN. Call ep_ctx_reset() to clear endpoint operations flags and reset buffer after endpoint is disabled. Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Kconfig | ||
| usb_dc_dw.c | ||
| usb_dc_kinetis.c | ||
| usb_dc_mcux_ehci.c | ||
| usb_dc_native_posix_adapt.c | ||
| usb_dc_native_posix_adapt.h | ||
| usb_dc_native_posix.c | ||
| usb_dc_nrfx.c | ||
| usb_dc_sam0.c | ||
| usb_dc_sam.c | ||
| usb_dc_stm32.c | ||
| usb_dw_registers.h | ||