nrfmin: avoid explicit cast to netdev

This commit is contained in:
Jose Alamos 2021-06-22 15:58:50 +02:00
parent cab4e36757
commit 3f62db6042
No known key found for this signature in database
GPG Key ID: F483EB800EF89DD9

View File

@ -184,5 +184,5 @@ void gnrc_nrfmin_init(void)
/* setup the NRFMIN driver */
nrfmin_setup();
gnrc_netif_create(&_netif, stack, sizeof(stack), NRFMIN_GNRC_THREAD_PRIO, "nrfmin",
(netdev_t *)&nrfmin_dev, &gnrc_nrfmin_ops);
&nrfmin_dev, &gnrc_nrfmin_ops);
}