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