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:
parent
853b3a0918
commit
97f20198a0
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user