Skip to content

Commit

Permalink
remove header guard from debug.h and repaired debugging on a per file…
Browse files Browse the repository at this point in the history
… base
  • Loading branch information
OlegHahm committed Jul 25, 2013
1 parent 3adb6fa commit 0bd81f1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions core/include/debug.h
Expand Up @@ -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_ */

0 comments on commit 0bd81f1

Please sign in to comment.