From 47d9a2be5a0aa50879955f1cfc042531d8e83ab8 Mon Sep 17 00:00:00 2001 From: utzig Date: Sat, 2 Aug 2014 00:47:26 +0000 Subject: [PATCH] [KINETIS] Fix thread function declarations git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7116 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/KINETIS/RT-FREEDOM-KL25Z/main.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/demos/KINETIS/RT-FREEDOM-KL25Z/main.c b/demos/KINETIS/RT-FREEDOM-KL25Z/main.c index df949e57f..8125e198a 100644 --- a/demos/KINETIS/RT-FREEDOM-KL25Z/main.c +++ b/demos/KINETIS/RT-FREEDOM-KL25Z/main.c @@ -19,8 +19,8 @@ #include "test.h" static THD_WORKING_AREA(waThread1, 64); -static msg_t Thread1(void *arg) -{ +static THD_FUNCTION(Thread1, arg) { + (void)arg; chRegSetThreadName("RedBlinker"); while (TRUE) { @@ -30,8 +30,8 @@ static msg_t Thread1(void *arg) } static THD_WORKING_AREA(waThread2, 64); -static msg_t Thread2(void *arg) -{ +static THD_FUNCTION(Thread2, arg) { + (void)arg; chRegSetThreadName("GreenBlinker"); while (TRUE) { @@ -41,8 +41,8 @@ static msg_t Thread2(void *arg) } static THD_WORKING_AREA(waThread3, 64); -static msg_t Thread3(void *arg) -{ +static THD_FUNCTION(Thread3, arg) { + (void)arg; chRegSetThreadName("BlueBlinker"); while (TRUE) {