From 107db452323526019f58242ffed637b6290599e2 Mon Sep 17 00:00:00 2001 From: Jose Cano Date: Wed, 13 May 2020 18:26:09 -0500 Subject: [PATCH] Added macro NRF52_SERIES when checking for _delay_us to work with NRF52840 chip --- src/SPIMemory.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SPIMemory.h b/src/SPIMemory.h index cd1fcd9..e4cba8b 100644 --- a/src/SPIMemory.h +++ b/src/SPIMemory.h @@ -107,7 +107,7 @@ #define ARCH_STM32 #endif #endif -#if defined (ARDUINO_ARCH_SAM) || defined (ARDUINO_ARCH_SAMD) || defined (ARDUINO_ARCH_ESP8266) || defined (SIMBLEE) || defined (ARDUINO_ARCH_ESP32) || defined (BOARD_RTL8195A) || defined(ARCH_STM32) || defined(ESP32) || defined(NRF52) +#if defined (ARDUINO_ARCH_SAM) || defined (ARDUINO_ARCH_SAMD) || defined (ARDUINO_ARCH_ESP8266) || defined (SIMBLEE) || defined (ARDUINO_ARCH_ESP32) || defined (BOARD_RTL8195A) || defined(ARCH_STM32) || defined(ESP32) || defined(NRF52) || defined(NRF52_SERIES) // RTL8195A included - @boseji 02.03.17 #define _delay_us(us) delayMicroseconds(us) #else