mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-09-01 02:29:03 +00:00
cpu/cc2538: CCA threshold was fixed
This commit is contained in:
parent
b8d753d35e
commit
2a84e68e6d
@ -482,7 +482,7 @@ init(void)
|
|||||||
REG(SYS_CTRL_SCGCRFC) = 1;
|
REG(SYS_CTRL_SCGCRFC) = 1;
|
||||||
REG(SYS_CTRL_DCGCRFC) = 1;
|
REG(SYS_CTRL_DCGCRFC) = 1;
|
||||||
|
|
||||||
REG(RFCORE_XREG_CCACTRL0) = CC2538_RF_CCA_THRES_USER_GUIDE;
|
REG(RFCORE_XREG_CCACTRL0) = CC2538_RF_CCA_THRES;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Changes from default values
|
* Changes from default values
|
||||||
|
@ -71,7 +71,7 @@
|
|||||||
#ifdef CC2538_RF_CONF_CCA_THRES
|
#ifdef CC2538_RF_CONF_CCA_THRES
|
||||||
#define CC2538_RF_CCA_THRES CC2538_RF_CONF_CCA_THRES
|
#define CC2538_RF_CCA_THRES CC2538_RF_CONF_CCA_THRES
|
||||||
#else
|
#else
|
||||||
#define CC2538_RF_CCA_THRES CCA_THRES_USER_GUIDE /** User guide recommendation */
|
#define CC2538_RF_CCA_THRES CC2538_RF_CCA_THRES_USER_GUIDE
|
||||||
#endif /* CC2538_RF_CONF_CCA_THRES */
|
#endif /* CC2538_RF_CONF_CCA_THRES */
|
||||||
|
|
||||||
#ifdef CC2538_RF_CONF_CHANNEL
|
#ifdef CC2538_RF_CONF_CHANNEL
|
||||||
|
Loading…
Reference in New Issue
Block a user