Skip to content
Snippets Groups Projects
Commit 8501a03c authored by Kaspar Schleiser's avatar Kaspar Schleiser
Browse files

cleanup: apply enable_debug_false.cocci to codebase (coccinelle)

Skipped sys/cbor/cbor.c, examples/microcoap_server/microcoap_sock.c,
as they use different semantics.
parent 564448ae
No related branches found
No related tags found
No related merge requests found
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
#include "periph_conf.h" #include "periph_conf.h"
#include "mutex.h" #include "mutex.h"
#define ENABLE_DEBUG (1) #define ENABLE_DEBUG (0)
#include "debug.h" #include "debug.h"
/* Only if we actually have any ADCs */ /* Only if we actually have any ADCs */
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
#include "periph/pm.h" #include "periph/pm.h"
#define ENABLE_DEBUG (1) #define ENABLE_DEBUG (0)
#include "debug.h" #include "debug.h"
enum system_sleepmode { enum system_sleepmode {
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
#include "irq.h" #include "irq.h"
#include "periph/pm.h" #include "periph/pm.h"
#define ENABLE_DEBUG (1) #define ENABLE_DEBUG (0)
#include "debug.h" #include "debug.h"
void pm_set(unsigned mode) void pm_set(unsigned mode)
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#include "lsm6dsl.h" #include "lsm6dsl.h"
#include "lsm6dsl_internal.h" #include "lsm6dsl_internal.h"
#define ENABLE_DEBUG (1) #define ENABLE_DEBUG (0)
#include "debug.h" #include "debug.h"
#define MAX(a, b) ((a) > (b) ? (a) : (b)) #define MAX(a, b) ((a) > (b) ? (a) : (b))
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
#include "timex.h" #include "timex.h"
#include "xtimer.h" #include "xtimer.h"
#define ENABLE_DEBUG (1) #define ENABLE_DEBUG (0)
#include "debug.h" #include "debug.h"
/* TinyDTLS */ /* TinyDTLS */
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
#include "dtls_debug.h" #include "dtls_debug.h"
#include "tinydtls.h" #include "tinydtls.h"
#define ENABLE_DEBUG (1) #define ENABLE_DEBUG (0)
#include "debug.h" #include "debug.h"
//#define DEFAULT_PORT 20220 /* DTLS default port */ //#define DEFAULT_PORT 20220 /* DTLS default port */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment