git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_2.0.x@2161 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
27ff5a2111
commit
6df2b812fb
|
@ -252,7 +252,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")
|
||||
|
|
Loading…
Reference in New Issue