Skip to content

Commit

Permalink
add macro for vsnprintf_P and snprintf_P
Browse files Browse the repository at this point in the history
  • Loading branch information
Links2004 committed Apr 3, 2015
1 parent a28032d commit 7927375
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hardware/esp8266com/esp8266/cores/esp8266/pgmspace.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
#define PGM_P const char *
#define PSTR(str) (str)

#define vsnprintf_P(...) vsnprintf( __VA_ARGS__ )
#define snprintf_P(...) snprintf( __VA_ARGS__ )

#define _SFR_BYTE(n) (n)

typedef void prog_void;
Expand Down

0 comments on commit 7927375

Please sign in to comment.