From 98830b3b71f3912e155181b5bb704b66a9f913fe Mon Sep 17 00:00:00 2001 From: maniacbug Date: Sun, 22 Jan 2012 21:44:59 -0800 Subject: [PATCH] Remove use of 'prog_char' for compliance with GCC 4.6.2. --- RF24Network_config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RF24Network_config.h b/RF24Network_config.h index 3202bdc2..15378439 100644 --- a/RF24Network_config.h +++ b/RF24Network_config.h @@ -39,7 +39,7 @@ extern HardwareSPI SPI; #undef PROGMEM #define PROGMEM __attribute__(( section(".progmem.data") )) #undef PSTR -#define PSTR(s) (__extension__({static prog_char __c[] PROGMEM = (s); &__c[0];})) +#define PSTR(s) (__extension__({static const char __c[] PROGMEM = (s); &__c[0];})) #endif // Progmem is Arduino-specific