diff options
author | Damien George <damien.p.george@gmail.com> | 2017-04-04 16:23:25 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-04-04 16:23:25 +1000 |
commit | 3b447ede78970df04e08eeb1cc549a574a733667 (patch) | |
tree | b6f2d4ede595bb90c1781938c762e9fb712252dc /zephyr/src | |
parent | 9a8e7f7a8e93e9319d2ff5795f4b8a6b9e4ba5ad (diff) | |
download | micropython-3b447ede78970df04e08eeb1cc549a574a733667.tar.gz micropython-3b447ede78970df04e08eeb1cc549a574a733667.zip |
stmhal/usbd_cdc_interface: Change CDC RX to use a circular buffer.
This should be a little more efficient (since we anyway scan the input
packet for the interrupt char), and it should also fix any non-atomic read
issues with the buffer state being changed during an interrupt.
Throughput tests show that RX rate is unchanged by this patch.
Diffstat (limited to 'zephyr/src')
0 files changed, 0 insertions, 0 deletions