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:
commit
82281f6e75
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user