From 6682a172af9bbf65a8e87e83acbc56c74fd164de Mon Sep 17 00:00:00 2001 From: hathach Date: Thu, 22 Aug 2019 12:35:07 +0700 Subject: [PATCH] change the arch to common macro for all nrf52 by adafruit --- libraries/PDM/src/PDM.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/PDM/src/PDM.h b/libraries/PDM/src/PDM.h index be965be0..d41f84fc 100644 --- a/libraries/PDM/src/PDM.h +++ b/libraries/PDM/src/PDM.h @@ -21,7 +21,7 @@ #include -#if !defined(ARDUINO_ARCH_ADAFRUIT_NRF52_ARDUINO) +#if !defined(ARDUINO_NRF52_ADAFRUIT) #error "This library targets only Adafruit NRF52840 boards" #endif