arduino-CAN
arduino-CAN copied to clipboard
Fixed a bug where the CAN baud rate was reduced to half.
Summary
This pull request fixes a bug where the CAN baud rate was unintentionally reduced to half of the configured value.
Details
I originally intended to use a baud rate of 1 Mbps. However, due to this bug, communication at the correct speed was not possible. By correcting the cause of the baud rate being halved, I was able to establish proper CAN communication at 1 Mbps.
Can verify. I'm trying to use 500kbps and had to bump it up to 1Mpbs. This patch fixes that issue
ESP-WROOM-32 using the built-in TWAI.
Can verify as well, seems to fix this issue on ESP-WROOM-32.