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