diff options
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) {
|