Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
usbd: device_next: cdc: wait IN EP ready before enqueue data to EP
Under the current structure of usbd_cdc_acm, there is a possibility that TX data is enqueued to UDC driver before the previous transaction is completed, hence causing the dropped data. This commit adds a mechanism for usbd_cdc_acm driver to wait for IN endpoint to complete existing transaction before allows the subsequent transaction to be enqueued. Signed-off-by: Chew Zeh Yang <[email protected]>
- Loading branch information