Skip to content

Commit 7927375

Browse files
committed
add macro for vsnprintf_P and snprintf_P
1 parent a28032d commit 7927375

File tree

1 file changed

+3
-0
lines changed
  • hardware/esp8266com/esp8266/cores/esp8266

1 file changed

+3
-0
lines changed

hardware/esp8266com/esp8266/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)