Fixed bug 2846278.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1111 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
gdisirio 2009-08-28 14:49:46 +00:00
parent c4299aa2da
commit 518fc97030
2 changed files with 3 additions and 3 deletions

View File

@ -151,8 +151,8 @@ void PendSVVector(void) {
Thread *otp;
register struct intctx *sp_thd asm("r12");
chSysLockFromIsr();
asm volatile ("push {lr}");
chSysLockFromIsr();
if (!chSchRescRequiredI()) {
chSysUnlockFromIsr();
asm volatile ("pop {pc}");