mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
cc2420: Remove PAN ID initialization from reset
This commit is contained in:
parent
6306308ef5
commit
d2ddc4ef2e
@ -58,7 +58,6 @@ int cc2420_init(cc2420_t *dev)
|
||||
addr[0] |= 0x02;
|
||||
cc2420_set_addr_short(dev, &addr[6]);
|
||||
cc2420_set_addr_long(dev, addr);
|
||||
cc2420_set_pan(dev, CC2420_PANID_DEFAULT);
|
||||
cc2420_set_chan(dev, CC2420_CHAN_DEFAULT);
|
||||
cc2420_set_txpower(dev, CC2420_TXPOWER_DEFAULT);
|
||||
|
||||
|
@ -38,11 +38,6 @@ extern "C" {
|
||||
*/
|
||||
#define CC2420_PKT_MAXLEN (IEEE802154_FRAME_LEN_MAX)
|
||||
|
||||
/**
|
||||
* @brief PAN ID configuration
|
||||
*/
|
||||
#define CC2420_PANID_DEFAULT (IEEE802154_DEFAULT_PANID)
|
||||
|
||||
/**
|
||||
* @name Channel configuration
|
||||
* @{
|
||||
|
Loading…
Reference in New Issue
Block a user