Skip to content

Commit 66e2e64

Browse files
committed
cpu/samd5x/can: add missing cortexm_isr_end
1 parent 90d7b0b commit 66e2e64

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cpu/samd5x/periph/can.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1142,6 +1142,7 @@ void ISR_CAN0(void)
11421142
if (_can_0->candev.event_callback) {
11431143
_can_0->candev.event_callback(&(_can_0->candev), CANDEV_EVENT_ISR, NULL);
11441144
}
1145+
cortexm_isr_end();
11451146
}
11461147
#endif
11471148

@@ -1155,6 +1156,6 @@ void ISR_CAN1(void)
11551156
if (_can_1->candev.event_callback) {
11561157
_can_1->candev.event_callback(&(_can_1->candev), CANDEV_EVENT_ISR, NULL);
11571158
}
1158-
1159+
cortexm_isr_end();
11591160
}
11601161
#endif

0 commit comments

Comments
 (0)