[KINETIS] Fix thread function declarations

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7116 35acf78f-673a-0410-8e92-d51de3d6d3f4
master
utzig 2014-08-02 00:47:26 +00:00
parent 49571d279b
commit 47d9a2be5a
1 changed files with 6 additions and 6 deletions

View File

@ -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) {