Skip to content
Commit 22a615b3 authored by Martin Koehler's avatar Martin Koehler Committed by Johan Hedberg
Browse files

usb: cdc_acm: Fix tx false data drop logging



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: default avatarMartin Koehler <koehler@metratec.com>
parent d9f56705
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment