check CAN isr

This commit is contained in:
Matthew Kennedy 2022-07-02 12:35:46 -07:00 committed by Andrey
parent 3fc4cbceab
commit 01f8cbc9cb
2 changed files with 12 additions and 0 deletions

View File

@ -92,6 +92,12 @@ void _sim_check_for_interrupts(void) {
CH_IRQ_EPILOGUE();
}
#if HAL_USE_CAN
if (check_can_isr()) {
int_occurred = true;
}
#endif
if (int_occurred) {
_dbg_check_lock();
if (chSchIsPreemptionRequired())

View File

@ -99,6 +99,12 @@ void _sim_check_for_interrupts(void) {
CH_IRQ_EPILOGUE();
}
#if HAL_USE_CAN
if (check_can_isr()) {
int_occurred = true;
}
#endif
if (int_occurred) {
_dbg_check_lock();
if (chSchIsPreemptionRequired())