Skip to content

Commit 3b839f8

Browse files
committed
add macro for vsnprintf_P and snprintf_P
1 parent a1f0c6f commit 3b839f8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cores/esp8266/pgmspace.h

+3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
#define PGM_P const char *
88
#define PSTR(str) (str)
99

10+
#define vsnprintf_P(...) vsnprintf( __VA_ARGS__ )
11+
#define snprintf_P(...) snprintf( __VA_ARGS__ )
12+
1013
#define _SFR_BYTE(n) (n)
1114

1215
typedef void prog_void;

0 commit comments

Comments
 (0)