You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when a debug print is placed in the method setBaudRate you can see that this method is called multiple times with 0 when on any canbus object .setClock() is called.
The text was updated successfully, but these errors were encountered:
piranha771
changed the title
can2.begin() resets baud rate of can1
can2.setClock() resets baud rate of can1
Apr 18, 2024
What did I do
I use 2 CAN objects in my firmware. can1 and can2:
Expected behavior
After setup:
can1.getBaudRate()
result is 125'000Observed behavior
After setup:
can1.getBaudRate()
result is 0Additional information:
when a debug print is placed in the method
setBaudRate
you can see that this method is called multiple times with0
when on any canbus object.setClock()
is called.The text was updated successfully, but these errors were encountered: