1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-06 20:03:46 +01:00
This commit is contained in:
J. Nick Koston
2025-10-03 09:25:31 -05:00
parent 52a19e916c
commit 834ce57a75

View File

@@ -162,7 +162,7 @@ class EthernetComponent : public Component {
// NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables)
extern EthernetComponent *global_eth_component;
#if defined(USE_ARDUINO) || ESP_IDF_VERSION < ESP_IDF_VERSION_VAL(5, 4, 2)
#if ESP_IDF_VERSION < ESP_IDF_VERSION_VAL(5, 4, 2)
extern "C" esp_eth_phy_t *esp_eth_phy_new_jl1101(const eth_phy_config_t *config);
#endif