HAL_AVR: fixed warnings on all PSTR() usage

This commit is contained in:
Andrew Tridgell committed 2012-12-20 14:51:34 +11:00
1 parent 857c0b69e5
commit b1856bc17e
1 file changed
+3
+3
View File
@@ -14,6 +14,9 @@ typedef struct {
char c;
} prog_char_t;
#undef PROGMEM
#define PROGMEM __attribute__(( section(".progmem.data") ))
#undef PSTR
/* Need const type for progmem - new for avr-gcc 4.6 */
#if __AVR__ && __GNUC__ == 4 && __GNUC_MINOR__ > 5