mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-17 13:25:30 +03:00
serial: allow buffering to speed up USB virtual COM ports.
Add begin write and end write hints. If implemented by the serial driver, then the driver can buffer up data sent via serialWrite() and flush it when serialEndWrite() is called. Implemented at the buffer level as it requires the least change to how serial_msp and serial_cli are architected. Also tidy up the visibility in the VCP driver. Signed-off-by: Michael Hope <mlhx@google.com>
This commit is contained in:
parent
0e460c18b0
commit
195456f9ac
7 changed files with 84 additions and 2498 deletions
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue