aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libmaple/nvic.h4
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);