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>2020-06-13 20:08:47 +0300
committerDavid Crocker <dcrocker@eschertech.com>2020-06-13 20:08:47 +0300
commit35923f84e6b3d387c1608fa591fa6aa3e218175f (patch)
tree6fde0108c2e3622d77e9fc9829eba13b15241803 /src/Networking/LwipEthernet/LwipSocket.cpp
parent9bdf603aa31c6576e3faf759f844a94f04835bfc (diff)
More changes for 5LC
Diffstat (limited to 'src/Networking/LwipEthernet/LwipSocket.cpp')
-rw-r--r--src/Networking/LwipEthernet/LwipSocket.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Networking/LwipEthernet/LwipSocket.cpp b/src/Networking/LwipEthernet/LwipSocket.cpp
index 33b17fe9..0f2154ac 100644
--- a/src/Networking/LwipEthernet/LwipSocket.cpp
+++ b/src/Networking/LwipEthernet/LwipSocket.cpp
@@ -17,6 +17,10 @@ extern Mutex lwipMutex;
// ERR_IS_FATAL was defined like this in lwip 2.0.3 file err.h but isn't in 2.1.2
#define ERR_IS_FATAL(e) ((e) <= ERR_ABRT)
+#ifndef UNUSED
+# define UNUSED(v) (void)(v)
+#endif
+
//***************************************************************************************************
extern "C" {