Initial Commit
This commit is contained in:
commit
5314a9d5c5
308 changed files with 190647 additions and 0 deletions
11
include/debug.h
Normal file
11
include/debug.h
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#ifndef __DEBUG_H
|
||||
#define __DEBUG_H
|
||||
|
||||
#ifdef APP_DEBUG
|
||||
#define debug_printf(fmt, ...) \
|
||||
printf((fmt) __VA_OPT__(,) __VA_ARGS__)
|
||||
#else
|
||||
#define debug_printf(fmt, ...)
|
||||
#endif
|
||||
|
||||
#endif /* !__DEBUG_H */
|
||||
Loading…
Add table
Add a link
Reference in a new issue