1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-19 23:22:16 +03:00

add macro for vsnprintf_P and snprintf_P

This commit is contained in:
Markus Sattler 2015-04-03 14:27:21 +02:00
parent a1f0c6feb9
commit 3b839f8907

View File

@ -7,6 +7,9 @@
#define PGM_P const char * #define PGM_P const char *
#define PSTR(str) (str) #define PSTR(str) (str)
#define vsnprintf_P(...) vsnprintf( __VA_ARGS__ )
#define snprintf_P(...) snprintf( __VA_ARGS__ )
#define _SFR_BYTE(n) (n) #define _SFR_BYTE(n) (n)
typedef void prog_void; typedef void prog_void;