git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13974 27425a3e-05d8-49a3-a47f-9c15f0e5edd8

This commit is contained in:
Giovanni Di Sirio 2020-12-21 14:00:15 +00:00
parent 7802b82505
commit ffb3542a50
1 changed files with 3 additions and 3 deletions

View File

@ -100,10 +100,10 @@ void _sim_check_for_interrupts(void) {
}
if (int_occurred) {
_dbg_check_lock();
__dbg_check_lock();
if (chSchIsPreemptionRequired())
chSchDoReschedule();
_dbg_check_unlock();
chSchDoPreemption();
__dbg_check_unlock();
}
}