1
0
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:
Jose Alamos 2021-06-22 11:01:43 +02:00
parent 6e12cf34f8
commit 513b13b8de
No known key found for this signature in database
GPG Key ID: F483EB800EF89DD9

View File

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