diff options
author | Damien George <damien.p.george@gmail.com> | 2019-05-08 12:45:24 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2019-05-08 12:45:24 +1000 |
commit | b8c74014e42331afca3db5911b30032a109f73f1 (patch) | |
tree | b5b089e54b131ff99a9e3f88f6a58f6182333051 /docs/esp32/tutorial | |
parent | 97753a1bbc5a20003bcf2a7f90cff2ca5c81ee92 (diff) |
stm32/usbd_cdc_interface: Don't retransmit chars if USB is reconnected.
Before this change, if the USB was reconnected it was possible that some
characters in the TX buffer were retransmitted because tx_buf_ptr_out and
tx_buf_ptr_out_shadow were reset while tx_buf_ptr_in wasn't. That
behaviour is fixed here by retaining the TX buffer state across reconnects.
Fixes issue #4761.
Diffstat (limited to 'docs/esp32/tutorial')
0 files changed, 0 insertions, 0 deletions