Skip to content

[Arduino_CAN] fix regression introduced in #296. #300

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

Merged
merged 1 commit into from
May 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions libraries/Arduino_CAN/src/R7FA6M5_CAN.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,11 @@ R7FA6M5_CAN::R7FA6M5_CAN(int const can_tx_pin, int const can_rx_pin)
**************************************************************************************/

bool R7FA6M5_CAN::begin(CanBitRate const can_bitrate)
{
return begin(static_cast<uint32_t>(can_bitrate));
}

bool R7FA6M5_CAN::begin(uint32_t const can_bitrate)
{
bool init_ok = true;

Expand Down
1 change: 1 addition & 0 deletions libraries/Arduino_CAN/src/R7FA6M5_CAN.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ class R7FA6M5_CAN final : public HardwareCAN


bool begin(CanBitRate const can_bitrate) override;
bool begin(uint32_t const can_bitrate);
void end() override;


Expand Down
Loading