diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-12-28 09:57:10 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-12-28 09:57:10 +0000 |
commit | 8886493a4e3208880149fb34ba2d407c3154e323 (patch) | |
tree | 11c2733a47a9092e8c8040b5d73d903f505d92d3 /os | |
parent | f32ad2889ebc84708208928983b2b5888399f234 (diff) | |
download | ChibiOS-8886493a4e3208880149fb34ba2d407c3154e323.tar.gz ChibiOS-8886493a4e3208880149fb34ba2d407c3154e323.tar.bz2 ChibiOS-8886493a4e3208880149fb34ba2d407c3154e323.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3671 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r-- | os/ports/GCC/ARMCMx/chcore_v6m.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/ports/GCC/ARMCMx/chcore_v6m.c b/os/ports/GCC/ARMCMx/chcore_v6m.c index 933af5e16..8c228183a 100644 --- a/os/ports/GCC/ARMCMx/chcore_v6m.c +++ b/os/ports/GCC/ARMCMx/chcore_v6m.c @@ -180,7 +180,7 @@ void _port_switch(Thread *ntp, Thread *otp) { "mov r9, r5 \n\t"
"mov r10, r6 \n\t"
"mov r11, r7 \n\t"
- "pop {r4, r5, r6, r7, pc}" : : "r" (sp) : "memory");
+ "pop {r4, r5, r6, r7, pc}" : : "r" (r13) : "memory");
}
/**
|