mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 06:23:53 +01:00
Merge pull request #10706 from keestux/eliminate-cast-at86rf2xx
tests/driver_at86rf2xx: eliminate cast
This commit is contained in:
commit
79b051907a
@ -95,7 +95,7 @@ int main(void)
|
||||
netdev_t *dev = (netdev_t *)(&devs[i]);
|
||||
|
||||
printf("Initializing AT86RF2xx radio at SPI_%d\n", p->spi);
|
||||
at86rf2xx_setup(&devs[i], (at86rf2xx_params_t*) p);
|
||||
at86rf2xx_setup(&devs[i], p);
|
||||
dev->event_callback = _event_cb;
|
||||
dev->driver->init(dev);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user