Skip to content

Commit

Permalink
better check for Ethernet available
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason2866 committed Jun 24, 2024
1 parent 689a9c6 commit f64ee6f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@

#if !defined(ESP_MAIL_DISABLE_NATIVE_ETHERNET)

#if defined(ESP32) && __has_include(<ETH.h>)
#if defined(ESP32) && __has_include(<"esp_eth_driver.h">)
#include <ETH.h>
#define ESP_MAIL_ETH_IS_AVAILABLE
#elif defined(ESP8266) && defined(ESP8266_CORE_SDK_V3_X_X)
Expand Down

0 comments on commit f64ee6f

Please sign in to comment.