tinyusb icon indicating copy to clipboard operation
tinyusb copied to clipboard

cdc: Fix autoflush for FIFO < MPS

Open tore-espressif opened this issue 2 years ago • 1 comments

Describe the PR If CDC TX buffer size is configured to be less than bulk packet size, the autoflushing condition is never reached.

Changes:

  1. TX buff is automatically flushed when TX FIFO is full

Additional context Found out during https://github.com/espressif/esp-idf/issues/9040

tore-espressif avatar Jun 02 '22 07:06 tore-espressif

~~This is in great extent reverting~~ https://github.com/hathach/tinyusb/pull/547

tore-espressif avatar Jun 02 '22 08:06 tore-espressif

@PanRe @perigoso @hathach any update about this?

tore-espressif avatar Oct 18 '22 05:10 tore-espressif