]>
cloudbase.mooo.com Git - z180-stamp.git/blob - include/debug.h
6 #include <avr/pgmspace.h>
14 #define debug_cond(cond, fmt, args...) \
17 printf_P(PSTR(fmt), ##args); \
20 #define debug(fmt, args...) \
21 debug_cond(_DEBUG, fmt, ##args)
26 #define DBG_P(lvl, format, ...) if (DEBUG>=lvl) \
27 fprintf_P( stdout, PSTR(format), ##__VA_ARGS__ )
29 #define DBG_P(lvl, ...)
34 void printfreelist(const char * title
);