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> |
||
|---|---|---|
| .. | ||
| device | ||
| CMakeLists.txt | ||
| Kconfig | ||