diff --git a/drivers/net/rckemac.c b/drivers/net/rckemac.c index 319ac04b..8e996dc6 100644 --- a/drivers/net/rckemac.c +++ b/drivers/net/rckemac.c @@ -560,7 +560,7 @@ err_t rckemacif_init(struct netif* netif) LWIP_DEBUGF(NETIF_DEBUG, ("Setting IP configuration of EMAC%d\n", num_emac)); /* Read the current config value from the register */ - receiver1_addr = read_emac(num_emac, EMAC_IPCONF+RECEIVER1_ADDRESS, core); + receiver1_addr = read_emac(num_emac, EMAC_IPCONF+RECEIVER1_ADDRESS, 0); /* Now set the relevant bits and write back into the register: * 25 = 1, 26 = 0, 28 = 1, 31 = 0