summaryrefslogtreecommitdiff
path: root/examples/host/bare_api
diff options
context:
space:
mode:
authorJerzy Kasenberg <[email protected]>2022-08-26 08:01:06 +0200
committerJerzy Kasenberg <[email protected]>2022-08-26 08:10:15 +0200
commit5e3cfe7b5784ee94a4914b36232d28ce96cf18f2 (patch)
tree836e30a3f8c56a1ee5d6e1963183c3adbba0c47f /examples/host/bare_api
parent101cbf6e31916267ba05b79ee6596e6f9306b20b (diff)
nrf5x: Fix endpoint internal state when closed
Field started (regardind transfer) was only cleaed when transfer was finished. For audio devices set interface is called many times. When there is no audio (silence) set interface requests zero lenght bandwithd that in turn calls dcd_edpt_close(). When endpoint is closed due to set interface request transfer should not longer be started since it will block next start transfer with assert. This just sets 'started' to false when endpoint is closed.
Diffstat (limited to 'examples/host/bare_api')
0 files changed, 0 insertions, 0 deletions