Move RF_CHANNEL such that it is applied for prop mode as well

This commit is contained in:
Andreas Urke 2016-11-27 16:13:58 +01:00
parent 728e417e04
commit 835a6aa6e6

View File

@ -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