-
Notifications
You must be signed in to change notification settings - Fork 3k
[STM32] CAN write() return value #3464
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
Comments
Hello Cheers |
Hi ! What is the status here ? It seems that the issue has been fixed by commit 1c4e0d7, as can_write() can sometimes return 0. |
I'll close this . Please reopen if any new update |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
According to the CAN.h header file the
write()
method is only supposed to return1
if send was successful. All of the STM32 implementations incan_api.c
are hard coded toreturn 1;
.The NXP targets implement this correctly, can_api.c
Bug
Target
STM32
Expected behavior
Only return
1
if write was successful.Actual behavior
Returns
1
regardless if write was successful.Steps to reproduce
The text was updated successfully, but these errors were encountered: