Minor: memcpy -> MEMCPY / SMEMCPY
This commit is contained in:
@@ -54,7 +54,7 @@ static err_t netif_init(struct netif *netif)
|
||||
netif->flags = NETIF_FLAG_BROADCAST | NETIF_FLAG_ETHARP | NETIF_FLAG_ETHERNET | NETIF_FLAG_IGMP;
|
||||
MIB2_INIT_NETIF(netif, snmp_ifType_ethernet_csmacd, 100000000);
|
||||
|
||||
memcpy(netif->hwaddr, your_mac_address_goes_here, sizeof(netif->hwaddr));
|
||||
SMEMCPY(netif->hwaddr, your_mac_address_goes_here, sizeof(netif->hwaddr));
|
||||
netif->hwaddr_len = sizeof(netif->hwaddr);
|
||||
|
||||
return ERR_OK;
|
||||
|
||||
Reference in New Issue
Block a user