• Damien George's avatar
    stmhal/usbd_cdc_interface: Change CDC RX to use a circular buffer. · 3b447ede
    Damien George authored
    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.