Fix MY_RF24_ENABLE_ENCRYPTION for ESP8266
This commit is contained in:
@@ -29,6 +29,8 @@
|
|||||||
typedef unsigned char byte;
|
typedef unsigned char byte;
|
||||||
#define printf_P printf
|
#define printf_P printf
|
||||||
#define PSTR(x) (x)
|
#define PSTR(x) (x)
|
||||||
|
#elif defined(ARDUINO_ARCH_ESP8266)
|
||||||
|
#include <pgmspace.h>
|
||||||
#else
|
#else
|
||||||
#include <avr/pgmspace.h>
|
#include <avr/pgmspace.h>
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user