1
0
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:
Koen Zandberg 2018-11-13 21:11:10 +01:00
parent 6306308ef5
commit d2ddc4ef2e
No known key found for this signature in database
GPG Key ID: 0895A893E6D2985B
2 changed files with 0 additions and 6 deletions

View File

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

View File

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