Definice textu v PROGMEM (demo)

This commit is contained in:
Pavel Brychta 2019-01-24 12:42:49 +01:00
parent d616088f69
commit 59ae6814a1

View File

@ -0,0 +1,16 @@
#include <trace.h>
#define TRACE(severity, fmt, ...) trace_print(severity, (PGM_P)PSTR(fmt), ## __VA_ARGS__)
#define TRACE_INIT trace_init()
#define TRACE_ADDWEB(srv) trace_addweb(srv)
#define TRACE_POLL trace_poll()
void setup(void)
{
}
void loop(void)
{
}