aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--os/ports/GCC/ARM7/chcore.h2
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")