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 7328966 commit 02d18fbCopy full SHA for 02d18fb
src/mcp2515_can.cpp
@@ -1396,6 +1396,7 @@ byte mcp2515_can::checkReceive(void) {
1396
*********************************************************************************************************/
1397
byte mcp2515_can::checkError(uint8_t* err_ptr) {
1398
byte eflg = mcp2515_readRegister(MCP_EFLG);
1399
+ mcp2515_modifyRegister(MCP_EFLG, 0xFF, 0);
1400
if (err_ptr) {
1401
*err_ptr = eflg;
1402
}
0 commit comments