drivers: usb: usb_dc_nrfx: Set cfg.en to false on Reset
Set false to enable flag on USB Reset. Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
This commit is contained in:
parent
a95f6385f2
commit
03ef375f5f
1 changed files with 2 additions and 0 deletions
|
@ -637,6 +637,8 @@ static void ep_ctx_reset(struct nrf_usbd_ep_ctx *ep_ctx)
|
|||
ep_ctx->buf.curr = ep_ctx->buf.data;
|
||||
ep_ctx->buf.len = 0U;
|
||||
|
||||
ep_ctx->cfg.en = false;
|
||||
|
||||
ep_ctx->read_complete = true;
|
||||
ep_ctx->read_pending = false;
|
||||
ep_ctx->write_in_progress = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue