diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-09-03 14:11:19 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-09-03 14:11:19 +0000 |
commit | 14cbeefe5adf3cf46a9d5ad0061ee988cd081db1 (patch) | |
tree | c2119b8ab9f4504e0a1b9b106f014c6a05db3d87 | |
parent | c9667b5b4b2bbe93299cfb07ed8b2b0a8654896c (diff) | |
download | ChibiOS-14cbeefe5adf3cf46a9d5ad0061ee988cd081db1.tar.gz ChibiOS-14cbeefe5adf3cf46a9d5ad0061ee988cd081db1.tar.bz2 ChibiOS-14cbeefe5adf3cf46a9d5ad0061ee988cd081db1.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2160 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r-- | os/ports/GCC/ARM7/chcore.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/ports/GCC/ARM7/chcore.h b/os/ports/GCC/ARM7/chcore.h index a14b08aad..8651c22e9 100644 --- a/os/ports/GCC/ARM7/chcore.h +++ b/os/ports/GCC/ARM7/chcore.h @@ -245,7 +245,7 @@ struct context { */
#ifdef THUMB
#define port_lock() { \
- asm volatile ("bl _port_lock_thumb" : : : "r3", "lr", "memory" \
+ asm volatile ("bl _port_lock_thumb" : : : "r3", "lr", "memory"); \
}
#else /* !THUMB */
#define port_lock() asm volatile ("msr CPSR_c, #0x9F" : : : "memory")
|