aboutsummaryrefslogtreecommitdiffstats
path: root/src/generic/armcm_boot.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/generic/armcm_boot.h')
-rw-r--r--src/generic/armcm_boot.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/generic/armcm_boot.h b/src/generic/armcm_boot.h
index 10b17e18..a0bfd3f4 100644
--- a/src/generic/armcm_boot.h
+++ b/src/generic/armcm_boot.h
@@ -4,8 +4,8 @@
#include "ctr.h" // DECL_CTR_INT
// Declare an IRQ handler
-#define DECL_ARMCM_IRQ(FUNC, NUM) \
- DECL_CTR_INT("DECL_ARMCM_IRQ " __stringify(FUNC), (NUM))
+#define DECL_ARMCM_IRQ(FUNC, NUM) \
+ DECL_CTR_INT("DECL_ARMCM_IRQ " __stringify(FUNC), 1, CTR_INT(NUM))
// Statically declare an IRQ handler and run-time enable it
#define armcm_enable_irq(FUNC, NUM, PRIORITY) do { \