X-Git-Url: http://git.droids-corp.org/?p=aversive.git;a=blobdiff_plain;f=include%2Faversive%2Fpgmspace.h;h=9ff8df4daf3f7b9479a871fb36c54cc8fc69ebe4;hp=ff37bdfea201f279c8d9326fd161a6aa3fa230ea;hb=1f8274e9bca0d2433f101f267b86bc70dc2ae8c4;hpb=09fd7b53a60d7201b6d019d88d3fee3d43a14c3f diff --git a/include/aversive/pgmspace.h b/include/aversive/pgmspace.h index ff37bdf..9ff8df4 100644 --- a/include/aversive/pgmspace.h +++ b/include/aversive/pgmspace.h @@ -39,6 +39,7 @@ #include #include #include +#include typedef void prog_void; typedef char prog_char; @@ -111,7 +112,7 @@ static inline int vsprintf_P(char *buf, const prog_char *s, #define PGM_P const char * #define PSTR(x) x #define PROGMEM -#define printf_P(arg...) printf(args) +#define printf_P(args...) printf(args) #define sprintf_P(buf, args...) sprintf(buf, args) #define snprintf_P(buf, n, args...) snprintf(buf, n, args)