From bf6b6f6b98f27aabdefc7fb9633bbeecc49f6cd9 Mon Sep 17 00:00:00 2001 From: DatanoiseTV Date: Tue, 25 Mar 2014 14:14:42 +0100 Subject: [PATCH] Minimal change to support PJRC Teensy 3.x Change the define to support the PJRC Teensy 3.x --- RF24_config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RF24_config.h b/RF24_config.h index fc7397fb..682db4ca 100644 --- a/RF24_config.h +++ b/RF24_config.h @@ -38,7 +38,7 @@ extern HardwareSPI SPI; // Avoid spurious warnings #if 1 -#if ! defined( NATIVE ) && defined( ARDUINO ) +#if ! defined( NATIVE ) && defined( ARDUINO ) && ! defined( CORE_TEENSY ) #undef PROGMEM #define PROGMEM __attribute__(( section(".progmem.data") )) #undef PSTR