summaryrefslogtreecommitdiff
path: root/examples/host/bare_api/src
diff options
context:
space:
mode:
authorJerzy Kasenberg <[email protected]>2021-08-25 10:57:35 +0200
committerJerzy Kasenberg <[email protected]>2022-01-19 15:08:12 +0100
commit4ca22156845162b69410a47a2b43e03ac552b9f3 (patch)
tree5e2c8ad6e976dca63c62a4f2387af0200d7f846a /examples/host/bare_api/src
parentd069ea1421eace1768157e76c44164262ed9a1e6 (diff)
vendor: Add tx flush functionality
So far tud_vendor_n_write() always flushed data. It requires to have whole vendor packed constructed before in one buffer. With this change data do get flushed when endpoint size is filled on write, when there is no enough data to fill endpoint data is not sent and subsequent calls to write functions can add more bytes. Vendor code needs to call tud_vendor_n_flush() when packet is ready to be sent.
Diffstat (limited to 'examples/host/bare_api/src')
0 files changed, 0 insertions, 0 deletions