-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Fix issue #13023, CAN constructor ignores passed speed. #13114
Fix issue #13023, CAN constructor ignores passed speed. #13114
Conversation
@FabianInostroza, thank you for your changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why it is not the same patch as #12113 ?
It took me a while to realize this is for 5.15 and
is for master. thus the code difference. @FabianInostroza would it be better to backport 12113 to 5.15 rather? I would say yes as proposed. |
Hi @FabianInostroza |
Hi, Sorry for the delay. I've made the changes. But I think that the peripheral should not be configured to a default speed and active (Normal) mode by just instantiating it. If the correct speed is set latter in the application this could cause issues because the device would send error frames.
|
CI started |
CI restarted |
Test run: SUCCESSSummary: 10 of 10 test jobs passed |
Approved by @andypowers |
Summary of changes
Fixes #13023.
Uses the passed speed to the constructor.
Impact of changes
Migration actions required
Documentation
Pull request type
Test results
Reviewers