1
0
mirror of https://github.com/esphome/esphome.git synced 2025-11-18 15:55:46 +00:00

[ethernet] Consolidate error handling to reduce flash usage (#11019)

This commit is contained in:
J. Nick Koston
2025-10-04 20:47:46 -05:00
committed by GitHub
parent b1859c50bd
commit 6c7d92e726
2 changed files with 8 additions and 4 deletions

View File

@@ -106,6 +106,7 @@ class EthernetComponent : public Component {
void start_connect_();
void finish_connect_();
void dump_connect_params_();
void log_error_and_mark_failed_(esp_err_t err, const char *message);
#ifdef USE_ETHERNET_KSZ8081
/// @brief Set `RMII Reference Clock Select` bit for KSZ8081.
void ksz8081_set_clock_reference_(esp_eth_mac_t *mac);