1
0
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:
Kees Bakker 2019-01-03 22:56:15 +01:00
parent b77c802f9b
commit d909cf3a84

View File

@ -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);
}