Merge branch 'master' of github.com:maniacbug/RF24
This commit is contained in:
2
RF24.cpp
2
RF24.cpp
@@ -19,10 +19,12 @@
|
||||
#endif
|
||||
|
||||
// Avoid spurious warnings
|
||||
#ifndef NATIVE
|
||||
#undef PROGMEM
|
||||
#define PROGMEM __attribute__(( section(".progmem.data") ))
|
||||
#undef PSTR
|
||||
#define PSTR(s) (__extension__({static prog_char __c[] PROGMEM = (s); &__c[0];}))
|
||||
#endif
|
||||
|
||||
/****************************************************************************/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user