nrf802154: Disable hardware IFS handling

This commit is contained in:
Koen Zandberg 2019-03-10 22:24:19 +01:00
parent de2f193da3
commit 658fb0651e
No known key found for this signature in database
GPG Key ID: 0895A893E6D2985B

View File

@ -232,6 +232,9 @@ static int _init(netdev_t *dev)
NRF_RADIO->CRCPOLY = 0x011021;
NRF_RADIO->CRCINIT = 0;
/* Disable the hardware IFS handling */
NRF_RADIO->MODECNF0 |= RADIO_MODECNF0_RU_Msk;
/* assign default addresses */
luid_get(nrf802154_dev.long_addr, IEEE802154_LONG_ADDRESS_LEN);
memcpy(nrf802154_dev.short_addr, &nrf802154_dev.long_addr[6],