From 1dfcf37ea45d6a6862ced9a1d4bdc6e361e3c23c Mon Sep 17 00:00:00 2001 From: oliverschmidt Date: Wed, 10 Feb 2010 07:59:42 +0000 Subject: [PATCH] Now that "even" the 6502 targets support stdout we can just puts() our feedback. --- examples/multi-threading/Makefile.apple2enh.defines | 1 - examples/multi-threading/Makefile.c128.defines | 1 - examples/multi-threading/Makefile.c64.defines | 1 - examples/multi-threading/Makefile.sky.defines | 1 - examples/multi-threading/multi-threading.c | 5 ++--- 5 files changed, 2 insertions(+), 7 deletions(-) delete mode 100644 examples/multi-threading/Makefile.apple2enh.defines delete mode 100644 examples/multi-threading/Makefile.c128.defines delete mode 100644 examples/multi-threading/Makefile.c64.defines delete mode 100644 examples/multi-threading/Makefile.sky.defines diff --git a/examples/multi-threading/Makefile.apple2enh.defines b/examples/multi-threading/Makefile.apple2enh.defines deleted file mode 100644 index 5e74716aa..000000000 --- a/examples/multi-threading/Makefile.apple2enh.defines +++ /dev/null @@ -1 +0,0 @@ -DEFINES = WITH_LOGGING diff --git a/examples/multi-threading/Makefile.c128.defines b/examples/multi-threading/Makefile.c128.defines deleted file mode 100644 index 5e74716aa..000000000 --- a/examples/multi-threading/Makefile.c128.defines +++ /dev/null @@ -1 +0,0 @@ -DEFINES = WITH_LOGGING diff --git a/examples/multi-threading/Makefile.c64.defines b/examples/multi-threading/Makefile.c64.defines deleted file mode 100644 index 5e74716aa..000000000 --- a/examples/multi-threading/Makefile.c64.defines +++ /dev/null @@ -1 +0,0 @@ -DEFINES = WITH_LOGGING diff --git a/examples/multi-threading/Makefile.sky.defines b/examples/multi-threading/Makefile.sky.defines deleted file mode 100644 index 3eb095497..000000000 --- a/examples/multi-threading/Makefile.sky.defines +++ /dev/null @@ -1 +0,0 @@ -DEFINES = LOG_CONF_ENABLED diff --git a/examples/multi-threading/multi-threading.c b/examples/multi-threading/multi-threading.c index c91596d70..d52ec75bc 100644 --- a/examples/multi-threading/multi-threading.c +++ b/examples/multi-threading/multi-threading.c @@ -30,7 +30,7 @@ * * Author: Oliver Schmidt * - * $Id: multi-threading.c,v 1.4 2008/05/26 09:12:22 oliverschmidt Exp $ + * $Id: multi-threading.c,v 1.5 2010/02/10 07:59:42 oliverschmidt Exp $ */ /** @@ -47,7 +47,6 @@ * C-library functions don't work when called from a Contiki thread. */ #include "contiki.h" -#include "sys/log.h" #include "sys/mt.h" static char *ptr; @@ -105,7 +104,7 @@ PROCESS_THREAD(multi_threading_process, ev, data) mt_exec(&count_thread); toggle++; } - log_message(ptr, ""); + puts(ptr); etimer_set(&timer, CLOCK_SECOND / 2); }