aboutsummaryrefslogtreecommitdiffstats
path: root/src/templates/chcore.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-01-19 15:10:41 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-01-19 15:10:41 +0000
commit79089d6352e01e1e7c6c3f0a88266abbc9af6abb (patch)
tree0ad16ec06bc8f671018a82fb2360f0eefac1ca24 /src/templates/chcore.h
parent0810f1daac3c33d194d573d82ec436021e3e7255 (diff)
downloadChibiOS-79089d6352e01e1e7c6c3f0a88266abbc9af6abb.tar.gz
ChibiOS-79089d6352e01e1e7c6c3f0a88266abbc9af6abb.tar.bz2
ChibiOS-79089d6352e01e1e7c6c3f0a88266abbc9af6abb.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@644 35acf78f-673a-0410-8e92-d51de3d6d3f4
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" {