git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13974 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
7802b82505
commit
ffb3542a50
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue