Browse Source

remove header guard from debug.h and repaired debugging on a per file base

dev/timer
Oleg Hahm 10 years ago
parent
commit
0bd81f14a4
  1. 4
      core/include/debug.h

4
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_ */

Loading…
Cancel
Save