We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a63d63 commit 4551d56Copy full SHA for 4551d56
libraries/Arduino_CAN/src/R7FA6M5_CAN.cpp
@@ -113,7 +113,7 @@ bool R7FA6M5_CAN::begin(CanBitRate const can_bitrate)
113
/* Set the pointer to the right filtering structure. */
114
if (_canfd_cfg.channel == 0)
115
_canfd_extended_cfg.p_afl = CANFD0_AFL;
116
- if (_canfd_cfg.channel == 1)
+ else if (_canfd_cfg.channel == 1)
117
_canfd_extended_cfg.p_afl = CANFD1_AFL;
118
else
119
init_ok &= false;
0 commit comments