diff options
author | Perry Hung <iperry@gmail.com> | 2010-09-14 21:59:39 -0400 |
---|---|---|
committer | Perry Hung <iperry@gmail.com> | 2010-09-14 21:59:39 -0400 |
commit | 1cec807e44da29c5a122e57120174f4711d95f25 (patch) | |
tree | fd5b76c3c3a40a7670aa8f35d0b590fb38ea4d3b | |
parent | 208e35e7d704467cb04b054e3fc32acf82be9e49 (diff) | |
download | librambutan-1cec807e44da29c5a122e57120174f4711d95f25.tar.gz librambutan-1cec807e44da29c5a122e57120174f4711d95f25.zip |
Fix enable/disable global irq
Oooooops.
-rw-r--r-- | libmaple/nvic.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libmaple/nvic.h b/libmaple/nvic.h index 4f4972d..3286357 100644 --- a/libmaple/nvic.h +++ b/libmaple/nvic.h @@ -73,8 +73,8 @@ enum { }; -#define nvic_globalirq_enable() asm volatile("cpsid i") -#define nvic_globalirq_disable() asm volatile("cpsie i") +#define nvic_globalirq_enable() asm volatile("cpsie i") +#define nvic_globalirq_disable() asm volatile("cpsid i") void nvic_init(void); void nvic_irq_enable(uint32 device); |