aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-06-02 14:35:58 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-06-02 14:35:58 +0000
commit24734a32ef4265716b07675eac24717f7525fca8 (patch)
tree21f834e2b39683d1383012a64cbd4600957a8196
parente5046d1dcb7a6c70cd3fa04ac5131214d067dec3 (diff)
downloadChibiOS-24734a32ef4265716b07675eac24717f7525fca8.tar.gz
ChibiOS-24734a32ef4265716b07675eac24717f7525fca8.tar.bz2
ChibiOS-24734a32ef4265716b07675eac24717f7525fca8.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3015 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r--os/ports/RVCT/ARMCMx/chcoreasm_v6m.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/ports/RVCT/ARMCMx/chcoreasm_v6m.s b/os/ports/RVCT/ARMCMx/chcoreasm_v6m.s
index 725189996..a20327c5d 100644
--- a/os/ports/RVCT/ARMCMx/chcoreasm_v6m.s
+++ b/os/ports/RVCT/ARMCMx/chcoreasm_v6m.s
@@ -113,7 +113,7 @@ _port_switch_from_isr PROC
ldr r2, =SCB_ICSR
movs r3, #128
#if CORTEX_ALTERNATE_SWITCH
- lsls r3, r3, #20
+ lsls r3, r3, #21
str r3, [r2, #0]
cpsie i
#else