1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 05:12:57 +01:00

kw2xrf: Remove PAN ID initialization from reset

This commit is contained in:
Koen Zandberg 2018-11-13 21:11:28 +01:00
parent d2ddc4ef2e
commit 52e68735c3
No known key found for this signature in database
GPG Key ID: 0895A893E6D2985B
2 changed files with 2 additions and 8 deletions

View File

@ -42,11 +42,6 @@ extern "C" {
*/
#define KW2XRF_MAX_PKT_LENGTH (IEEE802154_FRAME_LEN_MAX)
/**
* @brief Default PAN ID used after initialization
*/
#define KW2XRF_DEFAULT_PANID (IEEE802154_DEFAULT_PANID)
/**
* @name Default channel used after initialization
*

View File

@ -97,7 +97,6 @@ void kw2xrf_reset_phy(kw2xrf_t *dev)
kw2xrf_set_channel(dev, KW2XRF_DEFAULT_CHANNEL);
kw2xrf_set_pan(dev, KW2XRF_DEFAULT_PANID);
kw2xrf_set_address(dev);
kw2xrf_set_cca_mode(dev, 1);
@ -115,6 +114,6 @@ void kw2xrf_reset_phy(kw2xrf_t *dev)
kw2xrf_enable_irq_b(dev);
DEBUG("[kw2xrf] init phy and (re)set to channel %d and pan %d.\n",
KW2XRF_DEFAULT_CHANNEL, KW2XRF_DEFAULT_PANID);
DEBUG("[kw2xrf] init phy and (re)set to channel %d.\n",
KW2XRF_DEFAULT_CHANNEL);
}