cdc_acm_fifo_fill() logged warnings about dropped data when they in fact just couldn't be sent (due to connection of filled buffer). Not being able to send (all) data is a valid behaviour and data isn't dropped. Return value shows how many data was accepted (which can be zero). Logging will now instead only inform data can't be sent due to the respective issue (connection not ready/ buffer full). Signed-off-by: Martin Koehler <koehler@metratec.com> |
||
|---|---|---|
| .. | ||
| audio | ||
| dfu | ||
| hid | ||
| netusb | ||
| bluetooth.c | ||
| bt_h4.c | ||
| cdc_acm.c | ||
| CMakeLists.txt | ||
| Kconfig | ||
| Kconfig.bt | ||
| Kconfig.cdc | ||
| Kconfig.msc | ||
| Kconfig.template.composite_device_number | ||
| Kconfig.test | ||
| loopback.c | ||
| msc.c | ||