summaryrefslogtreecommitdiff
path: root/core/cortex-m0
diff options
context:
space:
mode:
Diffstat (limited to 'core/cortex-m0')
-rw-r--r--core/cortex-m0/task.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/cortex-m0/task.c b/core/cortex-m0/task.c
index 32f67e0d62..654711ff6d 100644
--- a/core/cortex-m0/task.c
+++ b/core/cortex-m0/task.c
@@ -32,7 +32,7 @@ typedef union {
#define STACK_UNUSED_VALUE 0xdeadd00d
/* declare task routine prototypes */
-#define TASK(n, r, d, s) void r(void);
+#define TASK(n, r, d, s) void r(void *);
void __idle(void);
CONFIG_TASK_LIST
CONFIG_TEST_TASK_LIST