X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=mware%2Fpgm.h;h=4bd1018c451f7020f598f2800b6f812698591795;hb=3b33848a29f6a9ba49a2913ba6b721e01d8b95f5;hp=673b143dca7fca89db86ac27833b7cd4c448897d;hpb=eaef2bd654dd52b78d7147a9066ab3d49640ac13;p=bertos.git diff --git a/mware/pgm.h b/mware/pgm.h index 673b143d..4bd1018c 100755 --- a/mware/pgm.h +++ b/mware/pgm.h @@ -210,12 +210,12 @@ typedef PROGMEM uint32_t pgm_uint32_t; #ifdef _PROGMEM #define PGM_READ_CHAR(s) pgm_read_char(s) #define PGM_FUNC(x) x ## _P - #define PGM_STR(x) PSTR(x) + #define PGM_STR(x) PSTR(x) #define PGM_ATTR PROGMEM #else #define PGM_READ_CHAR(s) (*(s)) #define PGM_FUNC(x) x - #define PGM_STR(x) x + #define PGM_STR(x) x #define PGM_ATTR /* nothing */ #endif /* \} */