From 835a6aa6e6d3003dbaab44541594adb7ac67cdc9 Mon Sep 17 00:00:00 2001 From: Andreas Urke Date: Sun, 27 Nov 2016 16:13:58 +0100 Subject: [PATCH] Move RF_CHANNEL such that it is applied for prop mode as well --- platform/srf06-cc26xx/contiki-conf.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/platform/srf06-cc26xx/contiki-conf.h b/platform/srf06-cc26xx/contiki-conf.h index a155781b6..d3df471c0 100644 --- a/platform/srf06-cc26xx/contiki-conf.h +++ b/platform/srf06-cc26xx/contiki-conf.h @@ -89,6 +89,10 @@ #define NETSTACK_CONF_FRAMER framer_802154 #endif +#ifdef RF_CHANNEL +#define RF_CORE_CONF_CHANNEL RF_CHANNEL +#endif + /* * Auto-configure Prop-mode radio if we are running on CC13xx, unless the * project has specified otherwise. Depending on the final mode, determine a @@ -121,10 +125,6 @@ #else #define NETSTACK_CONF_RADIO ieee_mode_driver -#ifdef RF_CHANNEL -#define RF_CORE_CONF_CHANNEL RF_CHANNEL -#endif - #ifndef RF_CORE_CONF_CHANNEL #define RF_CORE_CONF_CHANNEL 25 #endif