Skip to content

Commit

Permalink
[nrf fromtree] drivers: ieee802154_nrf5: Fix warning in ISR prototype
Browse files Browse the repository at this point in the history
The ISR prototype was changed some time ago
(6df8b39)
to (const void*) => fix the prototype used when
CONFIG_IEEE802154_NRF5_EXT_IRQ_MGMT is not set
to avoid a compile warning.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
(cherry picked from commit fb196da80912acb5db719fff48d43eaae03005c4)
  • Loading branch information
aescolar authored and tmon-nordic committed Mar 3, 2023
1 parent f30a1d7 commit a9d43c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/ieee802154/ieee802154_nrf5.c
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,7 @@ static int nrf5_stop(const struct device *dev)
}

#if !IS_ENABLED(CONFIG_IEEE802154_NRF5_EXT_IRQ_MGMT)
static void nrf5_radio_irq(void *arg)
static void nrf5_radio_irq(const void *arg)
{
ARG_UNUSED(arg);

Expand Down

0 comments on commit a9d43c8

Please sign in to comment.