diff options
author | David Crocker <dcrocker@eschertech.com> | 2021-10-06 14:32:27 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2021-10-06 14:32:27 +0300 |
commit | 634a7d75b8caed1b0637f0d07686fe75eb0c576f (patch) | |
tree | 202fe9dd9e54c30b793091c2b85d2dd07f8d7cb0 /src/Networking/LwipEthernet | |
parent | 309908915d87b959590710c045207f53c68ea8f9 (diff) |
Bug fix to M540 on Duet 3 and 3 Mini
Diffstat (limited to 'src/Networking/LwipEthernet')
-rw-r--r-- | src/Networking/LwipEthernet/LwipEthernetInterface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Networking/LwipEthernet/LwipEthernetInterface.cpp b/src/Networking/LwipEthernet/LwipEthernetInterface.cpp index 9fa2c1b3..679212cb 100644 --- a/src/Networking/LwipEthernet/LwipEthernetInterface.cpp +++ b/src/Networking/LwipEthernet/LwipEthernetInterface.cpp @@ -350,7 +350,7 @@ void LwipEthernetInterface::Start() noexcept const char *hostname = reprap.GetNetwork().GetHostname(); // Allow the MAC address to be set only before LwIP is started... - ethernet_configure_interface(platform.GetDefaultMacAddress().bytes, hostname); + ethernet_configure_interface(macAddress.bytes, hostname); init_ethernet(DefaultIpAddress, DefaultNetMask, DefaultGateway); // Initialise mDNS subsystem |