From 16967cacaab617c4d66bf5ff39e75586b2d65a61 Mon Sep 17 00:00:00 2001 From: David Crocker Date: Tue, 23 Jun 2020 09:53:14 +0100 Subject: Reorganised the location of Ethernet files in Hardware folders --- src/Networking/LwipEthernet/LwipEthernetInterface.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/Networking/LwipEthernet/LwipEthernetInterface.cpp') diff --git a/src/Networking/LwipEthernet/LwipEthernetInterface.cpp b/src/Networking/LwipEthernet/LwipEthernetInterface.cpp index 5b9aa927..5b8a726a 100644 --- a/src/Networking/LwipEthernet/LwipEthernetInterface.cpp +++ b/src/Networking/LwipEthernet/LwipEthernetInterface.cpp @@ -20,7 +20,12 @@ #include "General/IP4String.h" #include "Version.h" // version is reported by MDNS #include "GMAC/ethernet_sam.h" -#include // for error counts used in function Diagnostics + +#if SAME70 +# include +#elif SAME5x +# include +#endif extern "C" { -- cgit v1.2.3