mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
tests/driver_at86rf2xx: eliminate cast
This commit is contained in:
parent
b77c802f9b
commit
d909cf3a84
@ -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…
Reference in New Issue
Block a user