Skip to content

Commit

Permalink
fixup! drivers/kw2xrf: add setup function with global index
Browse files Browse the repository at this point in the history
  • Loading branch information
MrKevinWeiss committed Mar 24, 2022
1 parent 53df301 commit da892ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys/net/gnrc/netif/init_devs/auto_init_kw2xrf.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ void auto_init_kw2xrf(void)
const kw2xrf_params_t *p = &kw2xrf_params[i];

LOG_DEBUG("[auto_init_netif] initializing kw2xrf #%u\n", i);
kw2xrf_setup_device(&kw2xrf_devs[i], (kw2xrf_params_t*) p, i);
kw2xrf_setup(&kw2xrf_devs[i], (kw2xrf_params_t*) p, i);
gnrc_netif_ieee802154_create(&_netif[i], _kw2xrf_stacks[i], KW2XRF_MAC_STACKSIZE,
KW2XRF_MAC_PRIO, "kw2xrf",
&kw2xrf_devs[i].netdev.netdev);
Expand Down

0 comments on commit da892ca

Please sign in to comment.