tinyusb
tinyusb copied to clipboard
cdc: Fix autoflush for FIFO < MPS
Describe the PR If CDC TX buffer size is configured to be less than bulk packet size, the autoflushing condition is never reached.
Changes:
- TX buff is automatically flushed when TX FIFO is full
Additional context Found out during https://github.com/espressif/esp-idf/issues/9040
~~This is in great extent reverting~~ https://github.com/hathach/tinyusb/pull/547
@PanRe @perigoso @hathach any update about this?