diff options
author | David Crocker <dcrocker@eschertech.com> | 2022-02-01 20:18:52 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2022-02-01 20:18:52 +0300 |
commit | 05b4e2997f01debfa3e8fb8a8313cc455422da5f (patch) | |
tree | dc69249c9fffd90ddede5bfe27490da752cb80f2 /src/Networking/LwipEthernet/LwipSocket.cpp | |
parent | 4c448675a32ad48d707342a63169da0808b516dc (diff) |
Fix or Duet 3 Mini build with Ethernet disabled
Diffstat (limited to 'src/Networking/LwipEthernet/LwipSocket.cpp')
-rw-r--r-- | src/Networking/LwipEthernet/LwipSocket.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Networking/LwipEthernet/LwipSocket.cpp b/src/Networking/LwipEthernet/LwipSocket.cpp index 67623fe8..5390c809 100644 --- a/src/Networking/LwipEthernet/LwipSocket.cpp +++ b/src/Networking/LwipEthernet/LwipSocket.cpp @@ -9,6 +9,9 @@ #define NO_STATUS_CODES #include "LwipSocket.h" + +#if HAS_LWIP_NETWORKING + #include <Networking/NetworkBuffer.h> #include <Platform/RepRap.h> @@ -464,4 +467,6 @@ size_t LwipSocket::Send(const uint8_t *data, size_t length) noexcept return 0; } +#endif // HAS_LWIP_NETWORKING + // End |