check CAN isr
This commit is contained in:
parent
3fc4cbceab
commit
01f8cbc9cb
|
@ -92,6 +92,12 @@ void _sim_check_for_interrupts(void) {
|
||||||
CH_IRQ_EPILOGUE();
|
CH_IRQ_EPILOGUE();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if HAL_USE_CAN
|
||||||
|
if (check_can_isr()) {
|
||||||
|
int_occurred = true;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
if (int_occurred) {
|
if (int_occurred) {
|
||||||
_dbg_check_lock();
|
_dbg_check_lock();
|
||||||
if (chSchIsPreemptionRequired())
|
if (chSchIsPreemptionRequired())
|
||||||
|
|
|
@ -99,6 +99,12 @@ void _sim_check_for_interrupts(void) {
|
||||||
CH_IRQ_EPILOGUE();
|
CH_IRQ_EPILOGUE();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if HAL_USE_CAN
|
||||||
|
if (check_can_isr()) {
|
||||||
|
int_occurred = true;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
if (int_occurred) {
|
if (int_occurred) {
|
||||||
_dbg_check_lock();
|
_dbg_check_lock();
|
||||||
if (chSchIsPreemptionRequired())
|
if (chSchIsPreemptionRequired())
|
||||||
|
|
Loading…
Reference in New Issue