We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05afcc8 commit 9eb832bCopy full SHA for 9eb832b
src/CAN.cpp
@@ -152,7 +152,7 @@ int CANClass::begin(long baudRate, long clockRate)
152
153
writeRegister(REG_CNF1, cfg[0]);
154
writeRegister(REG_CNF2, cfg[1]);
155
- writeRegister(REG_CNF3, cfg[3]);
+ writeRegister(REG_CNF3, cfg[2]);
156
157
writeRegister(REG_CANINTE, FLAG_RXnIE(1) | FLAG_RXnIE(0));
158
writeRegister(REG_BFPCTRL, 0x00);
0 commit comments