From 9fecec8f571e5ac2190e3fd20071c2bf93785ef6 Mon Sep 17 00:00:00 2001 From: Christian Mehlis Date: Thu, 10 Oct 2013 17:06:14 +0200 Subject: [PATCH] fix debug handling --- sys/lib/ringbuffer.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/lib/ringbuffer.c b/sys/lib/ringbuffer.c index ec58e5e7c..d2bdf5025 100644 --- a/sys/lib/ringbuffer.c +++ b/sys/lib/ringbuffer.c @@ -25,10 +25,10 @@ #include "malloc.h" #endif -#include "ringbuffer.h" +#define ENABLE_DEBUG (0) +#include "debug.h" -//#define DEBUG(...) printf (__VA_ARGS__) -#define DEBUG(...) +#include "ringbuffer.h" void ringbuffer_init(ringbuffer_t *rb, char *buffer, unsigned int bufsize) {