mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
openwsn: avoid explicit cast to netdev
This commit is contained in:
parent
6e12cf34f8
commit
513b13b8de
@ -79,7 +79,7 @@ static void _set_addr(void)
|
||||
int openwsn_radio_init(void *radio_dev)
|
||||
{
|
||||
assert(radio_dev);
|
||||
netdev_t *netdev = (netdev_t *)radio_dev;
|
||||
netdev_t *netdev = radio_dev;
|
||||
|
||||
LOG_DEBUG("[openwsn/radio]: initialize riot-adaptation\n");
|
||||
openwsn_radio.dev = netdev;
|
||||
|
Loading…
Reference in New Issue
Block a user