[KINETIS] Fix thread function declarations
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7116 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
49571d279b
commit
47d9a2be5a
|
@ -19,8 +19,8 @@
|
||||||
#include "test.h"
|
#include "test.h"
|
||||||
|
|
||||||
static THD_WORKING_AREA(waThread1, 64);
|
static THD_WORKING_AREA(waThread1, 64);
|
||||||
static msg_t Thread1(void *arg)
|
static THD_FUNCTION(Thread1, arg) {
|
||||||
{
|
|
||||||
(void)arg;
|
(void)arg;
|
||||||
chRegSetThreadName("RedBlinker");
|
chRegSetThreadName("RedBlinker");
|
||||||
while (TRUE) {
|
while (TRUE) {
|
||||||
|
@ -30,8 +30,8 @@ static msg_t Thread1(void *arg)
|
||||||
}
|
}
|
||||||
|
|
||||||
static THD_WORKING_AREA(waThread2, 64);
|
static THD_WORKING_AREA(waThread2, 64);
|
||||||
static msg_t Thread2(void *arg)
|
static THD_FUNCTION(Thread2, arg) {
|
||||||
{
|
|
||||||
(void)arg;
|
(void)arg;
|
||||||
chRegSetThreadName("GreenBlinker");
|
chRegSetThreadName("GreenBlinker");
|
||||||
while (TRUE) {
|
while (TRUE) {
|
||||||
|
@ -41,8 +41,8 @@ static msg_t Thread2(void *arg)
|
||||||
}
|
}
|
||||||
|
|
||||||
static THD_WORKING_AREA(waThread3, 64);
|
static THD_WORKING_AREA(waThread3, 64);
|
||||||
static msg_t Thread3(void *arg)
|
static THD_FUNCTION(Thread3, arg) {
|
||||||
{
|
|
||||||
(void)arg;
|
(void)arg;
|
||||||
chRegSetThreadName("BlueBlinker");
|
chRegSetThreadName("BlueBlinker");
|
||||||
while (TRUE) {
|
while (TRUE) {
|
||||||
|
|
Loading…
Reference in New Issue