Skip to content

Commit

Permalink
Remove use of 'prog_char' for compliance with GCC 4.6.2.
Browse files Browse the repository at this point in the history
  • Loading branch information
maniacbug committed Jan 23, 2012
1 parent 09dc4e7 commit 98830b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RF24Network_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 98830b3

Please sign in to comment.