mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-21 12:38:34 +00:00
Fix those refs
This commit is contained in:
parent
058689709f
commit
82bcd391cd
@ -100,7 +100,7 @@ bool initEthernet()
|
|||||||
status = Ethernet.begin(mac);
|
status = Ethernet.begin(mac);
|
||||||
} else if (config.network.eth_mode == Config_NetworkConfig_EthMode_STATIC) {
|
} else if (config.network.eth_mode == Config_NetworkConfig_EthMode_STATIC) {
|
||||||
DEBUG_MSG("starting Ethernet Static\n");
|
DEBUG_MSG("starting Ethernet Static\n");
|
||||||
Ethernet.begin(mac, config.network.eth_config.ip, config.network.eth_config.dns, config.network.eth_config.subnet);
|
Ethernet.begin(mac, config.network.ipv4_config.ip, config.network.ipv4_config.dns, config.network.ipv4_config.subnet);
|
||||||
} else {
|
} else {
|
||||||
DEBUG_MSG("Ethernet Disabled\n");
|
DEBUG_MSG("Ethernet Disabled\n");
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user