From df8b60f3e812f2f84efb51301b3b4704fab7cbe6 Mon Sep 17 00:00:00 2001 From: Arto Kinnunen Date: Thu, 21 Mar 2019 15:02:49 +0200 Subject: [PATCH] Nanostack 802.15.4 RF drivers update Sync Nanostack RF drivers from master copy: -MCR20A: v1.0.5 --- .../mcr20a-rf-driver/mcr20a-rf-driver/NanostackRfPhyMcr20a.h | 2 +- .../mcr20a-rf-driver/source/NanostackRfPhyMcr20a.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/802.15.4_RF/mcr20a-rf-driver/mcr20a-rf-driver/NanostackRfPhyMcr20a.h b/components/802.15.4_RF/mcr20a-rf-driver/mcr20a-rf-driver/NanostackRfPhyMcr20a.h index 0f94b68bd6e5..a7200c0d10e7 100644 --- a/components/802.15.4_RF/mcr20a-rf-driver/mcr20a-rf-driver/NanostackRfPhyMcr20a.h +++ b/components/802.15.4_RF/mcr20a-rf-driver/mcr20a-rf-driver/NanostackRfPhyMcr20a.h @@ -17,7 +17,7 @@ #ifndef NANOSTACK_PHY_MCR20A_H_ #define NANOSTACK_PHY_MCR20A_H_ -#if defined(MBED_CONF_NANOSTACK_CONFIGURATION) && DEVICE_SPI && defined(MBED_CONF_RTOS_PRESENT) +#if defined(MBED_CONF_NANOSTACK_CONFIGURATION) && DEVICE_SPI && DEVICE_INTERRUPTIN && defined(MBED_CONF_RTOS_PRESENT) #include "inttypes.h" #include "NanostackRfPhy.h" #include "DigitalIn.h" diff --git a/components/802.15.4_RF/mcr20a-rf-driver/source/NanostackRfPhyMcr20a.cpp b/components/802.15.4_RF/mcr20a-rf-driver/source/NanostackRfPhyMcr20a.cpp index 2179781c4a34..18801a8ba257 100644 --- a/components/802.15.4_RF/mcr20a-rf-driver/source/NanostackRfPhyMcr20a.cpp +++ b/components/802.15.4_RF/mcr20a-rf-driver/source/NanostackRfPhyMcr20a.cpp @@ -13,10 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -#include "NanostackRfPhyMcr20a.h" #if defined(MBED_CONF_NANOSTACK_CONFIGURATION) && DEVICE_SPI && DEVICE_INTERRUPTIN && defined(MBED_CONF_RTOS_PRESENT) +#include "NanostackRfPhyMcr20a.h" #include "ns_types.h" #include "platform/arm_hal_interrupt.h" #include "nanostack/platform/arm_hal_phy.h"