From 0bd81f14a42eeba98ed982174e84195838ba6b60 Mon Sep 17 00:00:00 2001 From: Oleg Hahm <oleg@hobbykeller.org> Date: Thu, 25 Jul 2013 21:56:37 +0200 Subject: [PATCH] remove header guard from debug.h and repaired debugging on a per file base --- core/include/debug.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/core/include/debug.h b/core/include/debug.h index e45cfda976..c26c3dae1e 100644 --- a/core/include/debug.h +++ b/core/include/debug.h @@ -17,15 +17,13 @@ * @} */ -#ifndef DEBUG_H_ -#define DEBUG_H_ #include <stdio.h> #if ENABLE_DEBUG #define DEBUG(...) printf(__VA_ARGS__) +#undef ENABLE_DEBUG #else #define DEBUG(...) #endif -#endif /* DEGUG_H_ */ -- GitLab