Automaticke ukladani formatovacich retezcu do PROGMEM. Verze 0.0.6.
This commit is contained in:
@ -125,7 +125,8 @@ void trace_forceupdate();
|
||||
#define TOSTRING(x) STRINGIFY(x)
|
||||
|
||||
#define TRACEPLUS(when, severity, ...) if (when != 0) TRACE(severity, __VA_ARGS__)
|
||||
#define TRACE(severity, ...) trace_print(severity, __VA_ARGS__)
|
||||
//#define TRACE(severity, ...) trace_print(severity, __VA_ARGS__)
|
||||
#define TRACE(severity, text, ...) trace_print(severity, PSTR(text), ##__VA_ARGS__)
|
||||
#define TRACEFUNC(severity, ...) trace_printfunc(severity, __func__, __FILE__, TOSTRING(__LINE__), __VA_ARGS__)
|
||||
#define TRACEDUMP(severity, prefix, address, size) trace_dump(severity, prefix, address, size)
|
||||
#define TRACE_INIT(a) trace_init()
|
||||
|
Reference in New Issue
Block a user