diff options
author | utzig <utzig@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-08-02 00:47:26 +0000 |
---|---|---|
committer | utzig <utzig@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-08-02 00:47:26 +0000 |
commit | 47d9a2be5a0aa50879955f1cfc042531d8e83ab8 (patch) | |
tree | a41b203defc72229f495633ec7d2addba1f44ee4 /demos/KINETIS/RT-FREEDOM-KL25Z/main.c | |
parent | 49571d279ba31c6e4ad259f802a387ec18da0061 (diff) | |
download | ChibiOS-47d9a2be5a0aa50879955f1cfc042531d8e83ab8.tar.gz ChibiOS-47d9a2be5a0aa50879955f1cfc042531d8e83ab8.tar.bz2 ChibiOS-47d9a2be5a0aa50879955f1cfc042531d8e83ab8.zip |
[KINETIS] Fix thread function declarations
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7116 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/KINETIS/RT-FREEDOM-KL25Z/main.c')
-rw-r--r-- | demos/KINETIS/RT-FREEDOM-KL25Z/main.c | 12 |
1 files 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) {
|