From 4b6ba537df01334a9e5c7c60e04ae8381c4db3b2 Mon Sep 17 00:00:00 2001 From: Abtin Keshavarzian Date: Wed, 8 Jan 2020 19:00:52 -0800 Subject: [PATCH] [ncp] fix undefined config macro warnings (#4458) --- src/ncp/ncp_config.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ncp/ncp_config.h b/src/ncp/ncp_config.h index 954454944..cc584c189 100644 --- a/src/ncp/ncp_config.h +++ b/src/ncp/ncp_config.h @@ -35,6 +35,10 @@ #ifndef CONFIG_NCP_H_ #define CONFIG_NCP_H_ +#ifndef OPENTHREAD_RADIO +#define OPENTHREAD_RADIO 0 +#endif + /** * @def OPENTHREAD_CONFIG_NCP_SPI_ENABLE *