aboutsummaryrefslogtreecommitdiffstats
path: root/ports/ARM7/chcore.h
diff options
context:
space:
mode:
Diffstat (limited to 'ports/ARM7/chcore.h')
-rw-r--r--ports/ARM7/chcore.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/ARM7/chcore.h b/ports/ARM7/chcore.h
index 20255d652..1e99f7e16 100644
--- a/ports/ARM7/chcore.h
+++ b/ports/ARM7/chcore.h
@@ -184,9 +184,9 @@ struct context {
#endif /* !THUMB */
/**
- * IRQ handler function modifier.
+ * IRQ handler function declaration.
*/
-#define PORT_IRQ_HANDLER __attribute__((naked))
+#define PORT_IRQ_HANDLER(id) __attribute__((naked)) void id(void)
/**
* This function is empty in this port.