Skip to content

Commit d55fb80

Browse files
committed
Bugfix
1 parent 6bc8c96 commit d55fb80

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CanHacker.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,8 @@ CanHacker::ERROR CanHacker::processInterrupt() {
215215
return ERROR_NOT_CONNECTED;
216216
}
217217

218+
uint8_t irq = mcp2515->getInterrupts();
219+
218220
if (irq & MCP2515::CANINTF_ERRIF) {
219221
// reset RXnOVR errors
220222
mcp2515->clearRXnOVR();

0 commit comments

Comments
 (0)