From 70738fb36179a827884438662ceecd46a678a59f Mon Sep 17 00:00:00 2001 From: fvanroie Date: Sat, 2 Mar 2024 19:57:52 +0100 Subject: [PATCH] Add HASP_USE_ETHSPI guard --- lib/ETHSPI/esp_eth_mac_w5500.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/ETHSPI/esp_eth_mac_w5500.c b/lib/ETHSPI/esp_eth_mac_w5500.c index bb356529..71aaf04d 100644 --- a/lib/ETHSPI/esp_eth_mac_w5500.c +++ b/lib/ETHSPI/esp_eth_mac_w5500.c @@ -11,6 +11,9 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + +#if defined(HASP_USE_ETHSPI) + #include #include #include @@ -688,3 +691,5 @@ err: } return ret; } + +#endif \ No newline at end of file