diff options
author | David Crocker <dcrocker@eschertech.com> | 2020-06-23 11:53:14 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2020-06-23 11:53:14 +0300 |
commit | 16967cacaab617c4d66bf5ff39e75586b2d65a61 (patch) | |
tree | 804486a451edbe50712addd7bb16452cf58a070a /src/Networking/LwipEthernet/LwipEthernetInterface.cpp | |
parent | d0f4ed7d36262598bc92606a49e271fbb8346f32 (diff) |
Reorganised the location of Ethernet files in Hardware folders
Diffstat (limited to 'src/Networking/LwipEthernet/LwipEthernetInterface.cpp')
-rw-r--r-- | src/Networking/LwipEthernet/LwipEthernetInterface.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
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 <Hardware/SAME70/same70_gmac.h> // for error counts used in function Diagnostics + +#if SAME70 +# include <Hardware/SAME70/Ethernet/gmac.h> +#elif SAME5x +# include <Hardware/SAME5x/Ethernet/gmac.h> +#endif extern "C" { |