Skip to content
Snippets Groups Projects
Commit 3b447ede authored by Damien George's avatar Damien George
Browse files

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.
parent 9a8e7f7a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment