Skip to content

Conversation

me-no-dev
Copy link
Member

@me-no-dev me-no-dev commented Sep 9, 2021

Depending on tud_cdc_tx_complete_cb can cause in some cases the last packet to not be transmitted until more data is written and flushed. It's a rare case, but if the other end is expecting those last bytes, transmission will hang.

This PR also fixes debug output on CDC

@me-no-dev me-no-dev changed the title Use Ringbuf for CDC write to improve responsiveness and throughput [USB CDC] Fix data might not be transmitted until more is written Sep 15, 2021
@me-no-dev me-no-dev merged commit 541cef9 into master Sep 15, 2021
@me-no-dev me-no-dev deleted the bugfix/cdc_write_halt branch September 15, 2021 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant