1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-26 04:33:47 +00:00

[ci] Fix clang-tidy after Arduino-as-IDF-component migration (#11031)

This commit is contained in:
J. Nick Koston
2025-10-05 17:16:09 -05:00
committed by GitHub
parent c6e4a7911c
commit f26e71bae6
3 changed files with 4 additions and 3 deletions

View File

@@ -163,7 +163,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