Skip to content

Commit f893311

Browse files
Revert "[nrf temphack] drivers: nrf_802154: Don't set RADIO NVIC when using MPSL"
This reverts commit 61fd76b. This temphack was replaced upstream with a solution in 7f66fd8, which introduced a new CONFIG_IEEE802154_NRF5_EXT_IRQ_MGMT that can be used for the same purpose. We'll switch from this patch to using that new kconfig in nrfxlib by selecting it whenever MPSL=y. Signed-off-by: Martí Bolívar <[email protected]>
1 parent fcc3333 commit f893311

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

drivers/ieee802154/ieee802154_nrf5.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -438,24 +438,20 @@ static int nrf5_stop(struct device *dev)
438438
return 0;
439439
}
440440

441-
#if !CONFIG_MPSL
442441
static void nrf5_radio_irq(void *arg)
443442
{
444443
ARG_UNUSED(arg);
445444

446445
nrf_802154_radio_irq_handler();
447446
}
448-
#endif
449447

450448
static void nrf5_irq_config(struct device *dev)
451449
{
452450
ARG_UNUSED(dev);
453451

454-
#if !CONFIG_MPSL
455452
IRQ_CONNECT(RADIO_IRQn, NRF_802154_IRQ_PRIORITY,
456453
nrf5_radio_irq, NULL, 0);
457454
irq_enable(RADIO_IRQn);
458-
#endif
459455
}
460456

461457
static int nrf5_init(struct device *dev)

0 commit comments

Comments
 (0)