| commit | 0f0322127df5579cd3663f87039207dc7595dad1 | [log] [tgz] |
|---|---|---|
| author | Johann Fischer <johann.fischer@nordicsemi.no> | Wed Sep 11 12:57:18 2024 +0200 |
| committer | Fabio Baltieri <fabio.baltieri@gmail.com> | Wed Oct 02 14:42:02 2024 +0100 |
| tree | a05586b93eb6506536c8380ae1e41bf7d636e6f5 | |
| parent | fe4d8a678c56127b8e74830da4f8035c394d832c [diff] |
usb: device: avoid starving other threads in CDC ACM UART fifo_fill The check for the device being configured or suspended in the fifo_fill implementation can starve other threads, because the early return does not change the state of the TX path, and fifo_fill is called again from the callback loop. The ringbuffer that emulates the TX FIFO can be filled and marked ready as long as the space is available. Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>