From 3b451678d40e481f5ffd05b93c40aeaa812991b6 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Fri, 2 Apr 2010 13:00:14 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1832 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/ports/GCC/ARMCMx/chcore_v6m.c | 1 + 1 file changed, 1 insertion(+) (limited to 'os') diff --git a/os/ports/GCC/ARMCMx/chcore_v6m.c b/os/ports/GCC/ARMCMx/chcore_v6m.c index 8f8a0a100..8c367daf8 100644 --- a/os/ports/GCC/ARMCMx/chcore_v6m.c +++ b/os/ports/GCC/ARMCMx/chcore_v6m.c @@ -84,6 +84,7 @@ void _port_switch_from_irq(void) { "mov r12, r1 \n\t" \ "msr APSR, r0 \n\t" \ "mov lr, r2 \n\t" \ + "cpsie i \n\t" \ "pop {r0, r1, r2, r3, pc}"); } -- cgit v1.2.3