1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

stm32/eth: avoid explicit cast to netdev

This commit is contained in:
Jose Alamos 2021-06-22 10:57:21 +02:00
parent 853b3a0918
commit 97f20198a0
No known key found for this signature in database
GPG Key ID: F483EB800EF89DD9

View File

@ -310,7 +310,7 @@ static int stm32_eth_get(netdev_t *dev, netopt_t opt,
static void _timer_cb(void *arg)
{
netdev_t *dev = (netdev_t *)arg;
netdev_t *dev = arg;
uint8_t state = LINK_STATE_DOWN;
if (_get_link_status()) {
state = LINK_STATE_UP;