From 69c526f44dedffe1118ba90ea418c8cb342cf46b Mon Sep 17 00:00:00 2001 From: Christian Mehlis Date: Tue, 9 Jul 2013 19:02:46 +0200 Subject: [PATCH] removed redefined ENABLE_DEBUG --- core/kernel_init.c | 1 - core/msg.c | 2 -- core/mutex.c | 1 - core/oneway_malloc.c | 1 - core/queue.c | 1 - core/sched.c | 1 - core/thread.c | 1 - cpu/arm_common/iap.c | 1 - cpu/lpc2387/mci/lpc2387-mci.c | 1 - drivers/cc110x_ng/cc110x.c | 1 - drivers/cc2420/cc2420.c | 1 - drivers/sht11/sht11.c | 1 - sys/auto_init/auto_init.c | 1 - sys/chardev_thread.c | 1 - sys/transceiver/transceiver.c | 1 - sys/vtimer/vtimer.c | 1 - 16 files changed, 17 deletions(-) diff --git a/core/kernel_init.c b/core/kernel_init.c index 36cda0c80..ddf59c3c4 100644 --- a/core/kernel_init.c +++ b/core/kernel_init.c @@ -31,7 +31,6 @@ #include #endif -#define ENABLE_DEBUG #include volatile tcb_t *sched_threads[MAXTHREADS]; diff --git a/core/msg.c b/core/msg.c index 52e6e1dc3..9ccdd59f2 100644 --- a/core/msg.c +++ b/core/msg.c @@ -24,8 +24,6 @@ #include #include "flags.h" - -//#define ENABLE_DEBUG #include "debug.h" static int _msg_receive(msg_t *m, int block); diff --git a/core/mutex.c b/core/mutex.c index 57bc36824..28ca7b179 100644 --- a/core/mutex.c +++ b/core/mutex.c @@ -23,7 +23,6 @@ #include "sched.h" #include -//#define ENABLE_DEBUG #include int mutex_init(struct mutex_t *mutex) diff --git a/core/oneway_malloc.c b/core/oneway_malloc.c index 881c11eed..ba6aea655 100644 --- a/core/oneway_malloc.c +++ b/core/oneway_malloc.c @@ -20,7 +20,6 @@ #include #include -#define ENABLE_DEBUG #include extern void *sbrk(int incr); diff --git a/core/queue.c b/core/queue.c index 1090dd8a0..28178f613 100644 --- a/core/queue.c +++ b/core/queue.c @@ -19,7 +19,6 @@ #include "queue.h" -//#define ENABLE_DEBUG 0 #include "debug.h" void queue_remove(queue_node_t *root, queue_node_t *node) diff --git a/core/sched.c b/core/sched.c index 239c16c68..50013c835 100644 --- a/core/sched.c +++ b/core/sched.c @@ -21,7 +21,6 @@ #include #include -//#define ENABLE_DEBUG #include volatile int num_tasks = 0; diff --git a/core/thread.c b/core/thread.c index 25fa74304..67fc411c9 100644 --- a/core/thread.c +++ b/core/thread.c @@ -20,7 +20,6 @@ #include "thread.h" #include "kernel.h" -//#define ENABLE_DEBUG #include "debug.h" #include "kernel_intern.h" #include "bitarithm.h" diff --git a/cpu/arm_common/iap.c b/cpu/arm_common/iap.c index d6740c1b6..31523ca0f 100644 --- a/cpu/arm_common/iap.c +++ b/cpu/arm_common/iap.c @@ -9,7 +9,6 @@ #include #include -//#define ENABLE_DEBUG #include /* pointer to reserved flash rom section for configuration data */ diff --git a/cpu/lpc2387/mci/lpc2387-mci.c b/cpu/lpc2387/mci/lpc2387-mci.c index 0644abf29..4de443488 100644 --- a/cpu/lpc2387/mci/lpc2387-mci.c +++ b/cpu/lpc2387/mci/lpc2387-mci.c @@ -18,7 +18,6 @@ #include "hwtimer.h" #include "diskio.h" -//#define ENABLE_DEBUG #include "debug.h" extern unsigned long hwtimer_now(void); diff --git a/drivers/cc110x_ng/cc110x.c b/drivers/cc110x_ng/cc110x.c index 36ba9db60..96df447b4 100644 --- a/drivers/cc110x_ng/cc110x.c +++ b/drivers/cc110x_ng/cc110x.c @@ -25,7 +25,6 @@ #include #include -//#define ENABLE_DEBUG (1) #include /* some externals */ diff --git a/drivers/cc2420/cc2420.c b/drivers/cc2420/cc2420.c index 0e877b743..558ad2424 100644 --- a/drivers/cc2420/cc2420.c +++ b/drivers/cc2420/cc2420.c @@ -12,7 +12,6 @@ #include #include -//#define ENABLE_DEBUG #include static uint16_t radio_channel; diff --git a/drivers/sht11/sht11.c b/drivers/sht11/sht11.c index 26f843720..d68e068f9 100644 --- a/drivers/sht11/sht11.c +++ b/drivers/sht11/sht11.c @@ -46,7 +46,6 @@ and the mailinglist (subscription via web site) #include #include -//#define ENABLE_DEBUG (1) #include float sht11_temperature_offset; diff --git a/sys/auto_init/auto_init.c b/sys/auto_init/auto_init.c index 0136bcd94..e577aac28 100644 --- a/sys/auto_init/auto_init.c +++ b/sys/auto_init/auto_init.c @@ -22,7 +22,6 @@ #include #include "vtimer.h" -#define ENABLE_DEBUG #include extern int main(void); diff --git a/sys/chardev_thread.c b/sys/chardev_thread.c index 50546e537..cf4abfe14 100644 --- a/sys/chardev_thread.c +++ b/sys/chardev_thread.c @@ -25,7 +25,6 @@ #include #include -//#define ENABLE_DEBUG #include static int min(int a, int b) diff --git a/sys/transceiver/transceiver.c b/sys/transceiver/transceiver.c index 37237b238..134f9007b 100644 --- a/sys/transceiver/transceiver.c +++ b/sys/transceiver/transceiver.c @@ -51,7 +51,6 @@ #endif #endif -//#define ENABLE_DEBUG (1) #include /*------------------------------------------------------------------------------------*/ diff --git a/sys/vtimer/vtimer.c b/sys/vtimer/vtimer.c index fcbf2d642..9c6e6e3c9 100644 --- a/sys/vtimer/vtimer.c +++ b/sys/vtimer/vtimer.c @@ -13,7 +13,6 @@ #include -//#define ENABLE_DEBUG #include