common: Implement the receive path for the USB serial module.
authorTilman Sauerbeck <tilman@code-monkey.de>
Wed, 3 Jul 2019 04:04:02 +0000 (06:04 +0200)
committerTilman Sauerbeck <tilman@code-monkey.de>
Sun, 5 Jan 2020 19:38:11 +0000 (20:38 +0100)
commitcf6fdbdca0e32b98074843803e5760cd6fa9fbde
tree75fa669f02fece76312e4d3aab50b85297efad0d
parentbd24eff49f392f79fec4334fd6d8096c3236d708
common: Implement the receive path for the USB serial module.

This sets up a ringbuffer for data received from the USB host.
When we try to read from the empty ringbuffer, another receive-data
request is sent.

Other modules can read from this ringbuffer via the new
usb_serial_read() function.
src/common/virtual_com.c