Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Crocker <dcrocker@eschertech.com>2021-10-06 14:32:27 +0300
committerDavid Crocker <dcrocker@eschertech.com>2021-10-06 14:32:27 +0300
commit634a7d75b8caed1b0637f0d07686fe75eb0c576f (patch)
tree202fe9dd9e54c30b793091c2b85d2dd07f8d7cb0 /src/Networking/LwipEthernet/LwipEthernetInterface.cpp
parent309908915d87b959590710c045207f53c68ea8f9 (diff)
Bug fix to M540 on Duet 3 and 3 Mini
Diffstat (limited to 'src/Networking/LwipEthernet/LwipEthernetInterface.cpp')
-rw-r--r--src/Networking/LwipEthernet/LwipEthernetInterface.cpp2
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