aboutsummaryrefslogtreecommitdiffstats
path: root/src/templates/chcore.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/templates/chcore.h')
-rw-r--r--src/templates/chcore.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/templates/chcore.h b/src/templates/chcore.h
index 7c3fe4f0d..97f3f05e7 100644
--- a/src/templates/chcore.h
+++ b/src/templates/chcore.h
@@ -122,9 +122,11 @@ struct context {
#define PORT_IRQ_EPILOGUE()
/**
- * IRQ handler function modifier.
+ * IRQ handler function declaration.
+ * @note @p id can be a function name or a vector number depending on the
+ * port implementation.
*/
-#define PORT_IRQ_HANDLER
+#define PORT_IRQ_HANDLER(id) void id(void)
#ifdef __cplusplus
extern "C" {