Skip to content
Commit 79ed6a7e authored by Alexander Wachter's avatar Alexander Wachter Committed by Johan Hedberg
Browse files

drivers: can: loopback: Use thread to send frames.



The loopback driver is a simple driver that can be used to
test CAN subsystems. The actual implementation sends frames
in the same thread that calls the send function.
Some libraries have problems with that behavior.
This PR implements a dedicated thread that calls the callback
for the receiving functions and a msgq in between the sender
and the TX thread.

Signed-off-by: default avatarAlexander Wachter <alexander@wachter.cloud>
parent 173f6364
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment