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:
parent
d2ddc4ef2e
commit
52e68735c3
@ -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
|
||||
*
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user