Skip to content
Commit 4b276c49 authored by Mikhail Siomin's avatar Mikhail Siomin Committed by Anas Nashif
Browse files

drivers: can: stm32_bxcan: fix CAN mailbox overwrite



Fixes overwriting a mailbox before sending it completes.
Overwriting can occur when one thread has waited for
another thread to complete the send function and
fills a mailbox selected based on
the transmit_status_register variable,
which has not been updated after waiting and,
accordingly, does not contain up-to-date information
about the mailboxes used.

Signed-off-by: default avatarMikhail Siomin <victorovich.01@mail.ru>
parent a33f9d25
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment