Skip to content

Commit

Permalink
gnrc/init_devs/kw2xrf: use high priority queue for drivers
Browse files Browse the repository at this point in the history
  • Loading branch information
jia200x committed Aug 22, 2022
1 parent c371ba5 commit e2efc90
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sys/net/gnrc/netif/init_devs/auto_init_kw2xrf.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ void auto_init_kw2xrf(void)
LOG_DEBUG("[auto_init_netif] initializing kw2xrf #%u\n", i);

/* Init Bottom Half Processor (with events module) and radio */
bhp_event_init(&kw2xrf_bhp[i], &_netif[i].evq, &kw2xrf_radio_hal_irq_handler, &kw2xrf_netdev[i].submac.dev);
kw2xrf_init(&kw2xrf_devs[i], (kw2xrf_params_t*) p,&kw2xrf_netdev[i].submac.dev,
bhp_event_init(&kw2xrf_bhp[i], &_netif[i].evq[GNRC_NETIF_EVQ_INDEX_PRIO_HIGH],
&kw2xrf_radio_hal_irq_handler, &kw2xrf_netdev[i].submac.dev);
kw2xrf_init(&kw2xrf_devs[i], p, &kw2xrf_netdev[i].submac.dev,
bhp_event_isr_cb, &kw2xrf_bhp[i]);


netdev_register(&kw2xrf_netdev[i].dev.netdev, NETDEV_KW2XRF, i);
netdev_ieee802154_submac_init(&kw2xrf_netdev[i]);

Expand Down

0 comments on commit e2efc90

Please sign in to comment.