mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
gnrc/init_devs/kw2xrf: use high priority queue for drivers
This commit is contained in:
parent
2c9f3072fb
commit
5fd601ae97
@ -56,11 +56,11 @@ void auto_init_kw2xrf(void)
|
|||||||
LOG_DEBUG("[auto_init_netif] initializing kw2xrf #%u\n", i);
|
LOG_DEBUG("[auto_init_netif] initializing kw2xrf #%u\n", i);
|
||||||
|
|
||||||
/* Init Bottom Half Processor (with events module) and radio */
|
/* 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);
|
bhp_event_init(&kw2xrf_bhp[i], &_netif[i].evq[GNRC_NETIF_EVQ_INDEX_PRIO_HIGH],
|
||||||
kw2xrf_init(&kw2xrf_devs[i], (kw2xrf_params_t*) p,&kw2xrf_netdev[i].submac.dev,
|
&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]);
|
bhp_event_isr_cb, &kw2xrf_bhp[i]);
|
||||||
|
|
||||||
|
|
||||||
netdev_register(&kw2xrf_netdev[i].dev.netdev, NETDEV_KW2XRF, i);
|
netdev_register(&kw2xrf_netdev[i].dev.netdev, NETDEV_KW2XRF, i);
|
||||||
netdev_ieee802154_submac_init(&kw2xrf_netdev[i]);
|
netdev_ieee802154_submac_init(&kw2xrf_netdev[i]);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user