mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-01-02 19:29:30 +00:00
Move RF_CHANNEL such that it is applied for prop mode as well
This commit is contained in:
parent
728e417e04
commit
835a6aa6e6
@ -89,6 +89,10 @@
|
|||||||
#define NETSTACK_CONF_FRAMER framer_802154
|
#define NETSTACK_CONF_FRAMER framer_802154
|
||||||
#endif
|
#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
|
* Auto-configure Prop-mode radio if we are running on CC13xx, unless the
|
||||||
* project has specified otherwise. Depending on the final mode, determine a
|
* project has specified otherwise. Depending on the final mode, determine a
|
||||||
@ -121,10 +125,6 @@
|
|||||||
#else
|
#else
|
||||||
#define NETSTACK_CONF_RADIO ieee_mode_driver
|
#define NETSTACK_CONF_RADIO ieee_mode_driver
|
||||||
|
|
||||||
#ifdef RF_CHANNEL
|
|
||||||
#define RF_CORE_CONF_CHANNEL RF_CHANNEL
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef RF_CORE_CONF_CHANNEL
|
#ifndef RF_CORE_CONF_CHANNEL
|
||||||
#define RF_CORE_CONF_CHANNEL 25
|
#define RF_CORE_CONF_CHANNEL 25
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user