1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

Merge pull request #14442 from leandrolanzieri/pr/drivers/kw2xrf_enable_tx_irq

drivers/kw2xrf: Enable TX end IRQ
This commit is contained in:
Peter Kietzmann 2020-07-06 15:52:27 +02:00 committed by GitHub
commit 82281f6e75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -82,6 +82,10 @@ static int _init(netdev_t *netdev)
/* reset device to default values and put it into RX state */
kw2xrf_reset_phy(dev);
/* enable TX End IRQ: the driver uses the event and gnrc_netif_ieee802154
* only enables this when MODULE_NETSTATS_L2 is active */
kw2xrf_clear_dreg_bit(dev, MKW2XDM_PHY_CTRL2, MKW2XDM_PHY_CTRL2_TXMSK);
return 0;
}